Search found 4797 matches
- Sat Dec 24, 2016 12:10 pm
- Forum: Arithmetic
- Topic: Multiplication two image
- Replies: 1
- Views: 12908
Re: Multiplication two image
I1 = imread('ngc6543a.jpg'); I2= imread('greens.jpg'); I1 = imresize(I1,[256 256]); I2 = imresize(I2,[256 256]); im1 = uint16(I1); im2 = uint16(I2); im = im1.*im2; figure(1);imshow(im) figure(2);imshow(uint8(im./im1)) figure(3);imshow(uint8(im./im2)) imwrite(im,'aaa.tif','tif'); rrr = imread('aaa.ti...
- Sat Dec 24, 2016 12:09 pm
- Forum: Arithmetic
- Topic: Multiplication two image
- Replies: 1
- Views: 12908
Multiplication two image
I want to multiply two images.
But I want this multiplication be invert-able.
But I want this multiplication be invert-able.
- Fri Dec 16, 2016 9:42 pm
- Forum: Basic
- Topic: Too many input arguments.
- Replies: 1
- Views: 5034
Too many input arguments.
In MATLAB when you see this error, It means you call a function with many inputs.
for example :
You have the following function :
y = myfun(a,b)
y = a + b;
When you call this function :
>> myfun (3,5,7)
This error happens.
But if you type :
>> myfun(6,7)
13
for example :
You have the following function :
y = myfun(a,b)
y = a + b;
When you call this function :
>> myfun (3,5,7)
This error happens.
But if you type :
>> myfun(6,7)
13
- Fri Dec 16, 2016 9:42 pm
- Forum: Basic
- Topic: Not enough input arguments
- Replies: 1
- Views: 4842
- Fri Dec 16, 2016 9:41 pm
- Forum: Basic
- Topic: The input character is not valid in MATLAB statements or expressions
- Replies: 1
- Views: 5372
The input character is not valid in MATLAB statements or expressions
This error happens when you call a function or script with the wrong name.
- Fri Dec 16, 2016 9:40 pm
- Forum: Basic
- Topic: Expression or statement is incomplete or incorrect.
- Replies: 1
- Views: 4991
- Fri Dec 16, 2016 9:39 pm
- Forum: Basic
- Topic: A MATLAB string constant is not terminated properly
- Replies: 1
- Views: 10833
- Fri Dec 16, 2016 9:39 pm
- Forum: Basic
- Topic: Only input must be numeric or a valid numeric class name.
- Replies: 1
- Views: 4563
- Fri Dec 16, 2016 9:38 pm
- Forum: Basic
- Topic: Unbalanced or misused parentheses or brackets.
- Replies: 2
- Views: 6280
- Fri Dec 16, 2016 9:38 pm
- Forum: Basic
- Topic: Expression or statement is incorrect--possibly unbalanced (, {, or [.
- Replies: 1
- Views: 4648