{"action":"created","issue":{"url":"https://api.github.com/repos/kirk86/wateramarking/issues/1","labels_url":"https://api.github.com/repos/kirk86/wateramarking/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kirk86/wateramarking/issues/1/comments","events_url":"https://api.github.com/repos/kirk86/wateramarking/issues/1/events","html_url":"https://github.com/kirk86/wateramarking/issues/1","id":71010283,"number":1,"title":"Where are decimalToBinaryVector and binaryVectorToDecimal ?","user":{"login":"ichenxing","id":9410660,"avatar_url":"https://avatars.githubusercontent.com/u/9410660?v=3","gravatar_id":"","url":"https://api.github.com/users/ichenxing","html_url":"https://github.com/ichenxing","followers_url":"https://api.github.com/users/ichenxing/followers","following_url":"https://api.github.com/users/ichenxing/following{/other_user}","gists_url":"https://api.github.com/users/ichenxing/gists{/gist_id}","starred_url":"https://api.github.com/users/ichenxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichenxing/subscriptions","organizations_url":"https://api.github.com/users/ichenxing/orgs","repos_url":"https://api.github.com/users/ichenxing/repos","events_url":"https://api.github.com/users/ichenxing/events{/privacy}","received_events_url":"https://api.github.com/users/ichenxing/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-26T04:45:36Z","updated_at":"2015-06-09T02:38:03Z","closed_at":"2015-06-08T13:40:34Z","body":"when i run dwt_svm.m, the error is following as:\r\n\r\n??? Undefined function or method 'decimalToBinaryVector' for input arguments of type\r\n'double'.\r\n\r\nError in ==> signature_embedding at 51\r\n    binary_coefficients{p} = decimalToBinaryVector(integer_part(p), 16);\r\n\r\nError in ==> watermark_embedding at 57\r\nLL_inv = signature_embedding(LL, signature, print_figures);\r\n\r\nError in ==> dwt_svd at 47\r\n    watermarked_image = watermark_embedding(cover_image, watermark_logo, ...\r\n\r\ni want to replace these function to dec2bin and bin2dec, but in bin2dec, the error is Binary string may consist only of characters 0 and 1, so i hope for your help!!!"},"comment":{"url":"https://api.github.com/repos/kirk86/wateramarking/issues/comments/110201225","html_url":"https://github.com/kirk86/wateramarking/issues/1#issuecomment-110201225","issue_url":"https://api.github.com/repos/kirk86/wateramarking/issues/1","id":110201225,"user":{"login":"ichenxing","id":9410660,"avatar_url":"https://avatars.githubusercontent.com/u/9410660?v=3","gravatar_id":"","url":"https://api.github.com/users/ichenxing","html_url":"https://github.com/ichenxing","followers_url":"https://api.github.com/users/ichenxing/followers","following_url":"https://api.github.com/users/ichenxing/following{/other_user}","gists_url":"https://api.github.com/users/ichenxing/gists{/gist_id}","starred_url":"https://api.github.com/users/ichenxing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ichenxing/subscriptions","organizations_url":"https://api.github.com/users/ichenxing/orgs","repos_url":"https://api.github.com/users/ichenxing/repos","events_url":"https://api.github.com/users/ichenxing/events{/privacy}","received_events_url":"https://api.github.com/users/ichenxing/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T02:38:03Z","updated_at":"2015-06-09T02:38:03Z","body":"Thank you for your help, and your reply is very useful to me!!!"}}