photo

S Priya


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to create the random sampling matrix for a certain number of times?
I need to find random sample(consisting of 40 values) for 16 elements (each different).Using Em22(:,:,i) will help?How to do it?...

3 years ago | 1 answer | 0

1

answer

Question


Substituting a value to a syms function in a matrix?
I have a 4x4 matrix A= [E11e, 0, 0, 0] [ 0, E11e, 0, 0] [ 0, 0, E11e, 0] [ 0, 0,...

3 years ago | 2 answers | 0

2

answers

Question


How to write in MATLAB the following PDE?
where u=deformation K=stifness F=force E= Mod of elasticity for i=1:8 (del(Ki)/del(Ei)) * (ui) +(del(ui)/del(Ei)) * Ki=del(...

3 years ago | 1 answer | 0

1

answer

Question


Monte Carlo simulation examples
is there any matlab code examples online available for monte carlo simulation?

3 years ago | 3 answers | 0

3

answers

Question


Adding zeros in the empty places in a matrix.
A is a 252x1 matrix, and I have values of 1st 13th 25 th 73th 121th 109th 97th 61th row. and have to fill the ...

3 years ago | 1 answer | 0

1

answer

Question


How to use a matrix of 12*12 to form a matrix of 96*96?
If B is a 12*12 matrix, and I want to place this B matrix as diagonal matrix of 96*96, How to form this 96*96 diagonal matrix?

3 years ago | 2 answers | 0

2

answers

Question


Extracting rows in row-wise manner. How to do this?
Suppose,a matrix A, A=[1 2 3 4; 1 0 2 8; 1 2 3 6....] Size(A)=100 4 And I want to extract each row in a row-wise manner (ie...

3 years ago | 2 answers | 0

2

answers

Question


How to eliminate a column from a matrix?
C = C=[ 0.2474 -0.0311 0 0 0 0.5000 ] I want to eliminate the last column. How to d...

3 years ago | 1 answer | 0

1

answer

Question


I want to co-relate the local coordinate system with global co-ordinate system of a 8-noded element. How to do it in matlab?
Displacement is given by- d(local)=L*d(global) where L is the transformation matrix. How to proceed with this in matlab?

3 years ago | 1 answer | 0

1

answer

Question


What does C(:,:,i)=[Q11 Q12 Q14;Q12 Q22 Q24;Q14 Q24 Q44]; signify?
What does C(:,:,i)=[Q11 Q12 Q14;Q12 Q22 Q24;Q14 Q24 Q44]; signify?

3 years ago | 1 answer | 0

1

answer

Question


I want to find out vector subtraction of co-ordinates of 2 adjacent nodes of an element. How to proceed?
Like , the element is 8-noded and I want to find out vector subtraction co-ordinates of 2 nodes(Node 1 and Node 3) ie. |X11-X...

3 years ago | 1 answer | 0

1

answer

Question


I need to arrange the elements as shown in the figure. Can anyone suggest an algorithm for this arrangement of elements?
I am currently working in FE analysis. I need to arrange the elements as shown in the figure. Can anyone suggest an algorithm fo...

3 years ago | 1 answer | 0

1

answer

Question


How to display the output as table shown below?
z(:,:,1) = 0.4794 0.8776 0 0.0000 1.0000 0 -0.4794 0.8776 0 z(:,:,2) = 0.4794 0.8776 ...

3 years ago | 2 answers | 0

2

answers

Question


How to denote the node numbers , when the co-ordinates of all nodes are known?
I have the co-ordinates of all nodes of a structure nodes as x,y and z co-ordinates How do I now denote the node numbers?

3 years ago | 2 answers | 0

2

answers

Question


How does reshape function work? and also how to use sum(A,dim) in the code?
1.I want to understand how reshape fuction actually works? 2. While using the sum(A,dim) what the actual meaning of dim here?Fo...

3 years ago | 3 answers | 0

3

answers

Question


Why is this "z=x.*exp(-X.^2-Y.^2) " required?
[x,y]=meshgrid(-2:.2:2); z=x.*exp(-X.^2-Y.^2); why is z=.... required??? and also why is (-X.^2-Y.^2)??

3 years ago | 1 answer | 0

1

answer

Question


What is the use of plot(x, y, ':') while plotting the graph?
x=0:pi/100:2*pi; y=cos(x); y2=sinx plo(x,y2, ':') why is ':' required?

3 years ago | 1 answer | 0

1

answer

Question


Doubt regarding max(A,B).
A=[1 3 5] B=[10 6 4] Why is max(A,B) as [10 6 5]? It should be [5 10]

3 years ago | 2 answers | 0

2

answers

Question


Index in position 2 exceeds array bounds (must not exceed 3).
Can anyone please explain me the mistake here, I am not able to understand the error. Theta_n=(theta:(phi/n):(theta+phi)); nNN...

3 years ago | 1 answer | 0

1

answer

Question


Why should we write x(i,1)=cos(theta(1,i) in this format while using the for loop?
I have a doubt regarding this way of represention. for i=1:n+1 x(i,1)=R*cos(Theta_n(1,i) Why cant we represent it as- x(i)=...

3 years ago | 1 answer | 0

1

answer

Question


how to find out node coordinates for a simple quad element?
I want to know how to find out the node co-ordinates for a simple shell element?

3 years ago | 2 answers | 0

2

answers