Feeds
提问
Issues while importing excel file
I have this very basic problem while importing a xlsx file and not able to figure out the reason. I import the file using the fo...
7 years 前 | 1 个回答 | 0
1
个回答提问
Q is a 3D array of size 3x3xn. I want to use the next value of Q i.e. Q(:,:,2) and so on, every time j is even. Is there a way to do it in MATLAB.
for j=1:length(p) stress(:,:,j)=(Q(:,:,1)*strain(:,:,j)); if mod(j, 2) == 0 % j is even ...
7 years 前 | 1 个回答 | 0
1
个回答提问
I have an input array 'z' with which I want to create an array 'p' in the way given below. The length and values of 'z' is varying. How I can register 'p' for every case of 'z'. Thank you
z=[-0.5,-0.25,0,0.25,0.5]; p=zeros(1,2*(length(z))-2); p(1)=z(1); p(end)=z(end); and p should look...
7 years 前 | 1 个回答 | 0
1
个回答提问
Hello. I am new to matlab and I have this problem. I need to store 91 different 3x3 matrices. Yet I get this error 'Subscripted assignment dimension mismatch.' Can someone help me out. Many thanks
thetha=0:1:90; for i=1:length(thetha) c(i)=cosd(thetha(i)); s(i)=sind(thetha(i)); T(i)=[c(i)^2 s(i...
7 years 前 | 1 个回答 | 0

