Community Profile

photo

rakesh kumar


Last seen: ongeveer 2 maanden ago Active since 2020

Statistics

All
  • Thankful Level 4
  • Solver

View badges

Content Feed

View by

Question


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

3 maanden ago | 0 answers | 0

0

answers

Question


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

4 maanden ago | 1 answer | 0

1

answer

Question


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

10 maanden ago | 1 answer | 0

1

answer

Question


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

10 maanden ago | 2 answers | 0

2

answers

Question


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

10 maanden ago | 0 answers | 0

0

answers

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer een jaar ago | 2 answers | 0

2

answers

Question


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

meer dan een jaar ago | 2 answers | 0

2

answers

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

bijna 2 jaar 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 ...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar 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 ...

ongeveer 2 jaar 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,...

ongeveer 2 jaar 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*(...

ongeveer 2 jaar 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...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar 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]...

meer dan 2 jaar 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...

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

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

bijna 3 jaar ago | 0 answers | 0

0

answers

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

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

bijna 3 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 3 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 3 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

meer dan 3 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

meer dan 3 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:...

bijna 4 jaar ago