Community Profile

photo

Mehedi


RUET

Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

1

answer

Question


I have the ideal point (500,700) and the calculated point (499.79,700.44). I want to calculate the error but i can't. Please help me out
clc clear Idealpoint=(500,700) calculatedpoint=(499.79,700.44) error=?

10 years ago | 2 answers | 0

2

answers

1

answer

Question


I face the error of "Index exceeds matrix dimensions". but i want to show all the elements of z(n) and want to sum them and mean them. my program is given below, plz help me out?
clc clear x1=5; x2=3; x3=2; p=cell(3,1); for i=1:3 if i==1 x1=6; elseif i==2 x1=7; elseif...

10 years ago | 1 answer | 0

1

answer

Question


when two individual number remain in one cell such as a cell contain [300;350]. then how can i extact a single value from the cell?
clc clear x1=5; x2=3; x3=2; p=cell(3,1); for i=1:4 if i==1 x1=6; elseif i==2 x1=7; elseif...

10 years ago | 1 answer | 0

1

answer

Question


I face the error of "Subscripted assignment dimension mismatch." when i want to create a loop a matrix. my simple short code given below, plz help me?
clc clear x1=5; x2=3; x3=2; for i=1:3 if i==1 x1=6; elseif i==2 x1=7; elseif i==3 ...

10 years ago | 1 answer | 0

1

answer

Question


I face the error of "In an assignment A(I) = B, the number of elements in B and I must be the same" when i want to create a loop a matrix. my simple short code given below, plz help me?
clc clear x1=5; x2=3; x3=2; for i=1:3 if i==1 x1=6; elseif i==2 x1=7; elseif i==3 ...

10 years ago | 1 answer | 0

1

answer

Question


I face the error of "In an assignment A(I) = B, the number of elements in B and I must be the same" when i want to create a loop a matrix. my simple short code given below, plz help me?
clc clear x1=5; x2=3; x3=2; for i=1:3 if i==1 x1=6; elseif i==2 x1=7; elseif i==3 ...

10 years ago | 1 answer | 0

1

answer