Question


How to use "raise to the power" function in matlab
Jn(icounter)=sqrt(pow((Lxn_dash),2)+pow((mxn_dash),2)+pow((nxn_dash),2)) Lxn_dash to the power 2??

6 years ago | 2 answers | 0

2

answers

Question


Getting an Error "Error using vertcat Dimensions of matrices being concatenated are not consistent." in my Matlab program. Please help.
for aa=1:61; xx=(aa-1)*l; %%Horizontal ordinate ff=1:61; yy=[ff; (ff-1)*l]; ...

6 years ago | 0 answers | 0

0

answers

Question


Error in my FEM Matlab code. Please help
for i=1:2 fepsn(i)=i; end %%Loop for epsilon values for icounter=1:2 epsn=fepsn(icounter) end ...

6 years ago | 1 answer | 0

1

answer

Question


Value of y its derivative and double derivative at x=-1, 0 and 1.
y=x^5+x^4+x^3+x^2+x+100

6 years ago | 1 answer | 0

1

answer

Question


Convert a C program to matlab program. I am stuck. Please help. I want the values of Jacobian factor,its first and second derivative.
for(int i=0;i<3;i++) { chi=fchi[i]; %%Shape function for axial effect N1(chi)=(-1/2)*chi*(1-chi) N2(chi)=(1...

6 years ago | 0 answers | 0

0

answers

Question


Getting an error "INDEX OUT OF BOUNDS" in my matlab program. Please help.
for i=1:3 fepsn(i)=i; end %%Loop for epsilon values for icounter=1:3 epsn=fepsn(icounter) end %%Shape function ...

6 years ago | 0 answers | 0

0

answers

Question


Getting an error "INDEX OUT OF BOUNDS" in my matlab program. Please help.
for i=1:3 fepsn=i; end %%Loop for epsilon values for icounter=1:3 epsn=fepsn(icounter) Attempted to access fepsn(2)...

6 years ago | 1 answer | 0

1

answer

Question


Getting an error "INDEX OUT OF BOUNDS" in my matlab program. Please help.
%%Loop for chi values for icounter=-1:1:1 chi=(icounter); end %%Shape function for axial effect N1(chi)=(-1/2)*chi*(1...

6 years ago | 1 answer | 0

1

answer

Question


How to write Output text file in Tabular format in matlab??
X contains 61 decimal integers like 0.0123 0.9876 and so on. Y contains 61 decimal integers like 0.0123 0.9876 and so on. Z co...

6 years ago | 1 answer | 0

1

answer

Question


How to write an output text file in a tabular form in matlab??
X=0.22, 0.3456,0.5567 Y=0.1123,1.9823,1.2345 Z=0.34,0.332,0.897

6 years ago | 2 answers | 0

2

answers

Question


How to make an output text file in matlab. Explain by an example please
Example please

6 years ago | 1 answer | 0

1

answer

Question


How to read an input text file in a matlab program??
A=3 B=5 Read this text file

6 years ago | 2 answers | 0

2

answers

Question


I am getting a sparse error in my Matlab code
for i=1:9 for j=1:9 D[i][j]=[0] This line D[1][1]=[E*A] D(2)(2)=G*Asy D(3)...

6 years ago | 1 answer | 0

1

answer

Question


I am getting invalid file identifier error in an input file.
fid=fopen('input3.txt','r') Data=fread(fid) In this line CharData=char(Data) fclose(fid) disp(CharData)

6 years ago | 1 answer | 0

1

answer

Question


I am writing a FEM Matlab code and getting a parched error....
1xn_dash=N1(dash)*x1+N2(dash)*x2+N3(dash)*x3; Parched error in this line. Anyone help please??

6 years ago | 1 answer | 0

1

answer

Question


Error in line 2: not enough input arguments. Please help
function(kk,ff)=feasmbl2(kk,ff,k,f,index) edof=Lel(index) for i=edof ii=index(i) ff(ii)=ff(ii)+f(i...

6 years ago | 0 answers | 0

0

answers