Community Profile

# Shantanu K

### COEP

Active since 2013

#### Content Feed

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

bijna 11 jaar ago | 2 answers | 0

### 2

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

bijna 11 jaar ago | 0 answers | 0

### 0

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 0 answers | 0

### 0

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 1 answer | 0

### 1

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

bijna 11 jaar ago | 1 answer | 1

### 1

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

bijna 11 jaar ago | 2 answers | 0