Question


i want to take different values in each loop ?
close all; clear all; clc; v=[1 2 3;4 5 6;7 8 9] [n m]=size(v); w=double(abs(rand(n,5))); h=double(abs(r...

7 years ago | 1 answer | 0

1

answer

Question


how to store values from loop in an array?
v=[1 2 3;4 5 6;7 8 9] l2=zeros(3,1) for i=1:3 l2=norm(v((i),:),2) end i want to store store l2 values in ...

7 years ago | 1 answer | 0

1

answer

Question


how to update matrix?
i want to update the matrix W .Here W is initialised with radom matrix. Such that W= _u_*W(WH-V)H'and _u_ is keeps on increasin...

7 years ago | 1 answer | 0

1

answer

Question


how to draw an ellipse matrix?
m = 800; n = 600; im = zeros(800, 600); y0 = 12; x0 = 12; a = randi(round(m/3)); b =...

7 years ago | 1 answer | 0

1

answer

Question


how to change color intensity with time in a given area of the image ?
i have made an ellipse and inside that ellipse i have defined two region.i i want to change the intensity of the color inside th...

7 years ago | 1 answer | 0

1

answer