Search found 4797 matches

by matlab1
Sat Dec 24, 2016 12:10 pm
Forum: Arithmetic
Topic: Multiplication two image
Replies: 1
Views: 12867

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...
by matlab1
Sat Dec 24, 2016 12:09 pm
Forum: Arithmetic
Topic: Multiplication two image
Replies: 1
Views: 12867

Multiplication two image

I want to multiply two images.
But I want this multiplication be invert-able.
by matlab1
Fri Dec 16, 2016 9:42 pm
Forum: Basic
Topic: Too many input arguments.
Replies: 1
Views: 5017

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
by matlab1
Fri Dec 16, 2016 9:42 pm
Forum: Basic
Topic: Not enough input arguments
Replies: 1
Views: 4819

Not enough input arguments

tg
by matlab1
Fri Dec 16, 2016 9:41 pm
Forum: Basic
Topic: The input character is not valid in MATLAB statements or expressions
Replies: 1
Views: 5352

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.