rakesh kumar
Followers: 0 Following: 0
Feeds
提问
problem in finding inverse
%function[el5,f0]=data_cholesky(sigma,nel,l) clc clear all sigma=0.15; l=300; nel=200; % number of elements nn...
11 months 前 | 0 个回答 | 0
0
个回答提问
auto update of text in plot
i have a plot for sigma =0.05. i want the text in the plot should display sigma = 0.03 when i change the value of sigma as 0.03 ...
12 months 前 | 1 个回答 | 0
1
个回答提问
generarting vector or standard normal in matlab
iI want to generate random variables z_i, where z_ is a standard normal varible (i,e. with mean zero and variance 1) and if I ...
1 year 前 | 1 个回答 | 0
1
个回答提问
gernerating standard normal variable in matlab
I want to generate a vector 'z' of standard normal variable of size n. I want to create a matrix by multiplying z and z transpos...
1 year 前 | 2 个回答 | 0
2
个回答提问
eigen value of stochastic matrix
I wan to find eigen values and eigen vector of a stochastic matrix using Newton Raphson method. % Define the dimensions and v...
1 year 前 | 0 个回答 | 0
0
个回答提问
non linear eigen value problem
I want to find the eigen values of k0=magic(2); k1=1e-3*k0; c1=[1 0;0 1] c2=[0 1;1 0] B=kron(c1,k0)+kron(c2,k1) syms lamb...
1 year 前 | 1 个回答 | 0
1
个回答提问
Arranging a vector to new index position
I have a vector E= [E1, E2.... En]. I have shuffled it's index with randomperm. I want to arrange the vector E according to new ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Write a row and column vector as matrix index
I want to write a row vector [4 5 3] and column vector [4 5 3]' as (4, 4) (4,5) 4, 3) (5, 4) (5, 5) (5, 3) (3, 4) (3, 5) and (...
2 years 前 | 2 个回答 | 0
2
个回答提问
sum of series of matrix
I have a series of matrices like A1, A2,.........A99. I want to find sum of three matrices like(A1+A2+A3) then (A4+A5+A6).........
2 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
2 years 前 | 1 个回答 | 0
1
个回答提问
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...
2 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
3 years 前 | 1 个回答 | 0
1
个回答提问
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,...
3 years 前 | 1 个回答 | 0
1
个回答提问
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*(...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
Unrecognized function or variable
function [f]=fef1l(xl,xr) % i . % Purpose: % element vector for f(x)=l % using linear element % % Synopsis: % [f]...
3 years 前 | 1 个回答 | 0
1
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 2 个回答 | 0
2
个回答提问
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...
3 years 前 | 0 个回答 | 0
0
个回答提问
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'); ...
3 years 前 | 0 个回答 | 0
0
个回答提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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
4 years 前 | 0 个回答 | 0
0
个回答提问
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
4 years 前 | 1 个回答 | 0
1
个回答提问
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
4 years 前 | 1 个回答 | 0
1
个回答提问
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
4 years 前 | 2 个回答 | 0