![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13253143_1533521227142_DEF.jpg)
Virajan Verma
Followers: 0 Following: 0
Statistica
RANK
19.515
of 292.698
REPUTAZIONE
2
CONTRIBUTI
42 Domande
4 Risposte
ACCETTAZIONE DELLE RISPOSTE
21.43%
VOTI RICEVUTI
1
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Risolto
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
oltre un anno fa
How to solve this multi degree of freedom equation using matlab code by applying newmark method.
I have following two codes @Isha Sameen...You can apply these
circa 3 anni fa | 0
Domanda
I am getting this error "Assignment has more non-singleton rhs dimensions than non-singleton subscripts". Please help. Mw, Cw and Kw are 243X243 matrices.
t_init = 0; t_final = 3; t_incr = 0.005; n = (t_final-t_init)/t_incr; tt = t_init:t_incr:t_final; trange = [t_init t...
oltre 3 anni fa | 1 risposta | 0
1
rispostaHow to solve this multi degree of freedom equation using matlab code by applying newmark method.
Anyone out there?? Please help me wih this. Stuck in this for a long time now
oltre 3 anni fa | 1
Domanda
How to solve this multi degree of freedom equation using matlab code by applying newmark method.
MX+Cx+Kx=F(t)
oltre 3 anni fa | 3 risposte | 0
3
risposteDomanda
I am writing an FEM code for a curved box girder bridge and getting an error..Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 9.359430e-32. > In Dec14 (line 579)
X_matrix=inv(K_modi)*F_matrix;
oltre 5 anni fa | 3 risposte | 0
3
risposteDomanda
How to read values from an input file containing two different columns ? The values are shown below in the main body.
3 26 -1000000.000 60 2000000.000 128 1000000.000
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to apply loads(forces and Moment) in certain positions of nodes? If i have 8 elements, no. of nodes per element=3,no. of Degree of freedom per node=9,total no of nodes=17,Total no. of degree of freedom(ELTSIZE)=153?Attached a lookalikeC program
float r_matrix[ELTSIZE], x_mat[ELTSIZE]; int non_zero, i_z; for (i = 0; i < ELTSIZE; i++) r_matrix[i] = 0; scanf (" ...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
How to apply loads(forces and Moment) in certain positions of nodes? If i have 8 elements, no. of nodes per element=3,no. of Degree of freedom per node=9,total no of nodes=17,Total no. of degree of freedom(ELTSIZE)=153?Attached a lookalikeC program.
float r_matrix[ELTSIZE], x_mat[ELTSIZE]; int non_zero, i_z; for (i = 0; i < ELTSIZE; i++) r_matrix[i] = 0; scanf (...
oltre 5 anni fa | 0 risposte | 0
0
risposteDomanda
Error in my C program. Please help.
int show_matrix(float c[9][27], int size1=9, int size2=9) ERROR=expected ';' ',' or ')' before '=' token
oltre 5 anni fa | 0 risposte | 0
0
risposteConvert this C program into matlab. Please help. Stuck very badly as con[i][j] matrix is showing decimal nos. like 23.33(which is obviously not accepted in indexing in matlab).That error is showing in MG_matrix[con[eltn][i] - 1][con[eltn][j] - 1]
@Torsten. How can i thank you. U have really solved this obstacle i was on since many days. Really appreciate ur skills and than...
oltre 5 anni fa | 0
Domanda
Convert this C program into matlab. Please help. Stuck very badly as con[i][j] matrix is showing decimal nos. like 23.33(which is obviously not accepted in indexing in matlab).That error is showing in MG_matrix[con[eltn][i] - 1][con[eltn][j] - 1]
for (ip=0;ip<9;ip++) { Ms3_matrix[i][j]=Ms3_matrix[i][j]+w3(epsilon3)*J*NTM_matrix[i][ip]*N_matrix[ip][j]; Mte3_matrix[i][...
oltre 5 anni fa | 2 risposte | 0
2
risposteDomanda
I want a connectivity matrix of size 30x27 of the form shown in the body below. Please suggest an answer.
1 2 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 5 6 7 0 0 0 0 0 0 ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to solve INDEX OUT OF BOUNDS ERROR? Please help me. Stuck in this for the past 10 days.
eltn=30; %%(b)Element Connectivity Table count = 0 ; conn = zeros([],3) ; for i=1...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Getting an index out of bounds error in my matlab program. Please help. Stuck in this for quite a while now.
count = 0 ; conn = zeros([],3) ; for i=1:30 for j=1:27 count = count+1 ; conn(count,:) =[j,j+1,...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Converting a loop into a matrix form. How to do?? Help please.
(b)Element Connectivity Table for i=1:30 for j=1:27 conn=[j,j+1,j+2] end end Convert this 1x3 matr...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
What this indexing error all about in my matlab program. please help.
%%Transpose of N_matrix for i=1:26 for j=1:8 NT_matrix(i,j)=(N_matrix((i-1),j));(ERROR HERE) end end ...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Getting an error "Matrix Dimension must agree" in matlab program. Help me.
for epsilon3=-1:1:1 N_dash(1)=-0.5+epsilon3; N_dash(2)=-2*epsilon3; N_dash(3)=0.5+epsilon...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
I am writing an FEM code in matlab. I want to make the sizes of repmat(N_dash, 3, 1) and repelem(ey.', 3, 1) the exact same. Original size of repmat(N_dash, 3, 1) is 3x3 and that of repelem(ey.', 3, 1) is 9x1. Any help will be much appreciated.
for epsilon3=-1:1:1 N_dash(1)=-0.5+epsilon3; N_dash(2)=-2*epsilon3; N_dash(3)=0.5+epsilon3; end ly=(x(5)-x(...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
Getting an error "Matrix dimensions must agree" in my matlab program.help
N(1)=0.5*(epsilon3*epsilon3-epsilon3); %%epsilon=natural coordinte N(2)=(1-epsilon3*epsilon3); N(3)=0.5*(epsilon3...
quasi 6 anni fa | 2 risposte | 0
2
risposteDomanda
Convert this C program into a Matlab program.
ex[1]=lx/J %%first i term in ex matrix ex[2]=mx/J %%second j term in ex matrix ex[3]=nx/J %%third k term ...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Getting an "index out of bounds error" in my Matlab program. Help.
ex(1)=lx/J %%first i term in ex matrix ex(2)=mx/J %%second j term in ex matrix ex(3)=nx/J %%third k term ...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Got an indexing error here. Please recommend an answer.
for i=1:9 N_matrix(1,i)=N(rem(i,3))*ex(i)/3; %(ERROR HERE) end Attempted to access N(0); index must be a...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How do i correct this mistake in my matlab program? Please help.
ex(1)=lx/J %%first i term in ex matrix ex(2)=mx/J %%second j term in ex matrix ex(3)=nx/J %%third k term ...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Error in my matlab program regarding value of an index. Help.
for i=1:9 N_matrix(1,i)=N(rem(i,3))*ex(i/3);(ERROR HERE) end Attempted to access ex(0.333333); index must be a po...
quasi 6 anni fa | 0 risposte | 0
0
risposteDomanda
Getting an indexing error in my matlab program. Please help.
for i=0:8 for j=0:27 N_matrix(i)(j)=0;(ERROR HERE) end end ()-indexing must appear last in an i...
quasi 6 anni fa | 1 risposta | 0
1
rispostaDomanda
What does [i%3] mean in C? How do we use it in Matlab??
for i=0:8 B_matrix(5)(i+9)=-1/s*N_dash[i%3]*ez[i/3]; end
quasi 6 anni fa | 0 risposte | 0
0
risposteDomanda
How to read an input text file having multiple values??
0 0 0 0.5 0 0.049406182 1 0 0.097122055 0 0.51 0 0.5 0.51 0.049406182 1 0.51 0.097122055 1.5 0 0.143149239 2 0 0.187489...
quasi 6 anni fa | 2 risposte | 0
2
risposteDomanda
Value of first derivative of Shape function at -1,0 and +1 using for loop?? Error using sym/diff (line 69) The second argument must be a variable or a nonnegative integer specifying the number of differentiations. Error in practise3 (line 29) N1=dif
%%Shape function for axial effect N1epsn=0.5*epsn^2-0.5*epsn; (ERROR HERE) N2epsn=-1*epsn^2+1; N3epsn=0.5*epsn^2+0.5*...
quasi 6 anni fa | 1 risposta | 0