**Statistics**

**MATLAB Answers**

**9** Questions

**0** Answers

RANK**201,303**

of 264,968

REPUTATION**0**

CONTRIBUTIONS

**9** Questions

**0** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**0**

RANK

of 18,103

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 115,991

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

I want to calculate the value of a & b for "x=110972.*a.*cos(b/2);" & " y=110972.*b.*cos(a/2);" equation where x=500 and y=700. But i can't, Please help me out. Thanks in advance.

clc clear x=500; y=700; x=110972.*a.*cos(b/2); y=110972.*b.*cos(a/2); a= b=

8 years ago | 1 answer | 0

### 1

answerQuestion

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=?

8 years ago | 2 answers | 0

### 2

answersQuestion

I can calculate two error individually. but i can't calculate two error simultaneously. I found two result individually which is given in below. but i want to merge both error and need a single answer for following code, but i can't. Please help me

clc clear idealx=10; appx=9; error1=((abs(idealx-appx))/idealx)*100 idealy=30; appy=31; error2=((abs(idealy-appy))/idealy...

8 years ago | 1 answer | 0

### 1

answerQuestion

If y(i) contain 5 values such as 1,2,3,4,5. Then i want to sum all the values with a single command but i can't solve this problem. Please help me out, my code is given below.

clc clear x=0; for i=1:5 y(i)=x+i z=sum(y(i)) end

8 years ago | 1 answer | 0

### 1

answerQuestion

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...

8 years ago | 1 answer | 0

### 1

answerQuestion

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...

8 years ago | 1 answer | 0

### 1

answerQuestion

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 ...

8 years ago | 1 answer | 0

### 1

answerQuestion

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 ...

8 years ago | 1 answer | 0

### 1

answerQuestion

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 ...

8 years ago | 1 answer | 0