photo

Shantanu K


COEP

Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte