photo

Shantanu K


COEP

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Error in using while loop?
Hello, I am using while loop there is error in using it. I am not able to solve this. x10=2; x20=-2; x30=1; e1=...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


Why Error in while loop?
x10=2; x20=-2; x30=1; e1=0.00001; iter=10; m=2; z = sym('2*x1 * x1 + x2*x2 + 3*x3*x3'); syms x1 x2 x3...

meer dan 11 jaar ago | 0 answers | 0

0

answers

Question


How to solve error in executing for loop due to Solve command used?
angle=90; theta=angle*pi/180; m=cos(theta); n=sin(theta); %Sig1=Sigx*m^2+Sigy*n^2+2*m*n*Sigxy; %Sig...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to do partial differentiation of functions?
x10=2; x20=-2; x30=1; e1=0.00001; z = sym('2*x1 * x1 + x2*x2 + 3*x3*x3'); syms x1 x2 x3 a; gradz = [diff...

meer dan 11 jaar ago | 0 answers | 0

0

answers

Question


Whats mistake in this code....can anybody guide me?
z = sym('2*x1 * x1 + x2*x2 + 3*x3*x3'); syms x1 x2 x3 a; gradz = [diff(z,x1); diff(z,x2); diff(z,x3)]; x1(1)=2; ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


geting answer in variable format , i want in number format.
z = sym('2*x1 * x1 + x2*x2 + 3*x3*x3'); syms x1 x2 x3 ; gradz = [diff(z,x1); diff(z,x2); diff(z,x3)]; x1(1)=2; ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to get solution of quadratic equation in decimal format?
>> solve('2*x^2-4*x+5') Solving equation gives answer in n/d format. i want anser in decimal foramt how to get it? ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Storing Maximum Value & corresponding variable in iterative process.
max1 = [-inf 0 0 0]; for p=1:3 for q=1:6 for z=1:100 if p+q<6; ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


Changing from 'bar' command to 'plot' command.
Double expansion chamber program: l1=0.05; l3=0.05; l5=0.05; l2=0.200; l4=0.200; ...

meer dan 11 jaar ago | 1 answer | 0

1

answer

Question


How to add three if else conditions?
Here one if else loop is used. there i have used three conditions i want to use and operator.....means if all conditions are...

meer dan 11 jaar ago | 1 answer | 1

1

answer

Question


How to find maximum value for 3 iterative variables.
In this i have to do following operation mentioned: Here value of a,b,z are changing continuously. For every value program wi...

meer dan 11 jaar ago | 2 answers | 0

2

answers

Question


Plotting graph using M-file.
I want to plot graph of x Vs y. So when i do below steps its showing me error as Too many input arguments. So please let me know...

meer dan 11 jaar ago | 2 answers | 0

2

answers