Community Profile

# rakesh kumar

Last seen: Today Active since 2020

All

#### Content Feed

View by

Question

Undefined function 'diag' for input arguments of type 'cell'.
I am trying to run a code given by Felipe Uribe Castillo %%% function to generate c_ijk with dimension M and order p %% using ...

etwa 2 Monate ago | 1 answer | 0

### 1

Question

solve x*tan(x)-0.5=0
I am again stuck with similar question which I asked earlier. I am trying to solve x*tan(x)-0.5=0,but when i cross checked the ...

3 Monate ago | 1 answer | 0

### 1

Question

solve tan(x)+2*x=0
I am trying solve tan(x)+ 2*x=0. however when i checked the result I am not getting the result zero.Please help where I am wrong...

3 Monate ago | 2 answers | 0

### 2

Question

expected value of matrix
I have a random vector alpha with mean zero and standard deviation one, I want to find the expected value of alpha *alpha transp...

5 Monate ago | 2 answers | 0

### 2

Question

plotting error, different curve for same code
i am getting two different curves for code attached below. the two figures that I have attached are for the same code, please he...

5 Monate ago | 1 answer | 0

### 1

Question

How to plot mode shapes from eigen vectors of a cantilever beam.
I want to plot first three modes of a cantilever beam beam by taking three, four and five elements. I have calculated the egien ...

5 Monate ago | 1 answer | 0

### 1

Question

how can I plot in symbolic math with defined x axis limit and Y axis limit with marker at specific points
I want to plot in symbolic math fplot with x axis between 0 to 4 and y axis between 0 to 50. I also want put marker at x=1,x=2,...

6 Monate ago | 1 answer | 0

### 1

Question

how to simplify symbolic expressions
how can i simplify the given expession .i am getting this result when I am using symbolic math (4.2e-41*((0.46*(1.3*(7.5e+123*(...

6 Monate ago | 1 answer | 0

### 1

Question

assemble global stiffness matrix with varying young's modulus
I am trying to assemble stifness matrix of two element beam whose elastic modus is different in each element. the elastic modulu...

6 Monate ago | 0 answers | 0

### 0

Question

How to use for loop to read the value of each row of a matrix
Ih have a permutation matrix P=[ 1 1;1 2;2 1;2 2] . I want to use,for loop to take the vale of each row and use in the two by tw...

6 Monate ago | 1 answer | 0

### 1

Question

Unrecognized function or variable
function [f]=fef1l(xl,xr) % i . % Purpose: % element vector for f(x)=l % using linear element % % Synopsis: % [f]...

9 Monate ago | 1 answer | 0

### 1

Question

I want to develop a mathematical equations for twisted curved surface. The cross section is nacaa 4 series aerofoil along xz plane .I want to twist the surface along Y axis but I am unable to get the right plot.
syms s t t1=0.12; p=0.4; m=.02; a1=(m/p^2)*(2*p*s-s^2); b1=(m/(1-p)^2)*((1-2*p)+2*p*s-s^2); z_t=5*t1*(0.2969*sqrt(s)-0.1...

etwa ein Jahr ago | 0 answers | 0

### 0

Question

Multiple if elseif statement
How to write multiple if else if statement . Is there any vectoristion method for it. I want to write the statement five hundred...

etwa ein Jahr ago | 2 answers | 0

### 2

Question

Vectoristion of if statement
I have a nested for loop i and j and a matrix [x]. For i= 1, I have [x ]= M1 and for i=2 I have [x] = M2 . I want a matrix m= [M...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

Nested for and while loop
I want to generate matrix [a] and I want to the value [a] in while loop. A=randi(2,2); b=A*transpose(A); c=chol(b,'lower'); ...

etwa ein Jahr ago | 0 answers | 0

### 0

Question

How to index in for loop
I have a an array a=[4 9 7] A Matrix b= [5 7;4 2]; I want to have c1=4*b c2=9*b; c3=7*b . I want to use c1,c2"c3' late...

etwa ein Jahr ago | 1 answer | 0

### 1

Question

I want to do interpolation. The interpolation is y=1/(x+y).i have to interpolate y. X varies from 0.1 to 0.5.The initial value of y at the beginning of each interpolation is 2/x
x=0.1:.01:0.5 for i = 1:length(x) for j=1:20 y=2/x(j) y=1/(x+y) m(i,j)=y end end

mehr als ein Jahr ago | 0 answers | 0

### 0

Question

i want to write code for a question
c=0.1(x-y) x=4:0.01:12 y=sqrt(c/2) i have to find the value of x for which c=.0038416

fast 2 Jahre ago | 1 answer | 0

### 1

Question

I want to plot power of helicopters on y axis and name of helicopters on x axix.please help
I don't know how to plot number and character on the same graph

fast 2 Jahre ago | 1 answer | 0

### 1

Question

i want to write a code where equation is y=x*x. if y=100 what is the value of x?
i have written z=100; for x=1:1:20 y=x*x if y==z fprintf(x) end end

fast 2 Jahre ago | 2 answers | 0