Community Profile

photo

rakesh kumar


Last seen: Today Active since 2020

Statistics

All
  • Thankful Level 3
  • Solver

View badges

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

ongeveer 2 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 2 answers | 0

2

answers

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 maanden ago | 2 answers | 0

2

answers

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 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 1 answer | 0

1

answer

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

5 maanden ago | 1 answer | 0

1

answer

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

5 maanden ago | 1 answer | 0

1

answer

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 maanden ago | 0 answers | 0

0

answers

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 maanden ago | 1 answer | 0

1

answer

Question


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

9 maanden ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 0 answers | 0

0

answers

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

ongeveer een jaar ago | 2 answers | 0

2

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

ongeveer een jaar ago | 0 answers | 0

0

answers

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

ongeveer een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 0 answers | 0

0

answers

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

bijna 2 jaar ago | 1 answer | 0

1

answer

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

bijna 2 jaar ago | 2 answers | 0

2

answers

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

ongeveer 2 jaar ago