Feeds
질문
Obtaining a sub-matrix based on some condition
<</matlabcentral/answers/uploaded_files/84227/Untitled.jpg>> Hello, I have a 10*3 matrix. 1st column represents Type of load(...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
Replacing a Column vector value
I have a matrix x=[1 2 3; 4 5 6; 7 8 9]. i wanted to replace 3rd column of matrix by a scalor value of 10. new matrix should loo...
대략 8년 전 | 답변 수: 1 | 0
1
답변질문
how to avoid powers of 10 i.e 1.0e+03 in answers
Hello, every time when i done calculation matlab giving answers 1.0e+03 * [ vector]. how to avoid this..??? few times its usef...
9년 초과 전 | 답변 수: 4 | 1
4
답변질문
two vectors graph on same x-axis(time) point.
i have 2 vectors x and y >> t=1:10; >> x=[1 4 3 -5 2.5 18 11 27 5 7]; >> y=[1 3.1 2.85 26 6.9]; >> plot(t,x) wh...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
plotting two-vectors on same axis
I have vector x contains 33-elements x = [ 1.0000 0.9974 0.9853 0.9793 0.9735 0.9588 0....
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
Combining two vectors of different elements in an order
I have two vectors >> n=[2 18 5 22 29]; >> m=[3 6 17 20 30]; I wanted a new vector mn, which contains both the elements of n ...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
finding Missing elements in a vector
I have a vector P = 1 2 3 4 5 6 7 8 9 10 11 12 13 ...
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
execution of for loops on specific numbers
k=[3 8 10 12] i wanted to execute above mentioned indexes in for loop something like this for i=[3 8 10 12] if...
9년 초과 전 | 답변 수: 0 | 0
0
답변질문
Executing loop on certain numbers
i have two vectors L=1:12; idx=[3 5 9]; I wanted to execute for loop for i=12:-1:1 now i want execute vector idx, star...
9년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to Execute loop continuously based on vector elements
I have two vectors >> V=1:12; >> L=[ 3 5 8 10] starting from last element of vector L for i=1:12 if L==10 V(i)=V(i+2)-10...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
How to get Cumulative sum of elements based on negative sign
I have 2 vectors >> z=1:9; >> l=[1 2 -3 4 -5 6 7-8 9 10] starting from last element of l i.e 10 9....1 check for 1st negati...
거의 10년 전 | 답변 수: 1 | 0
1
답변질문
Executing loops for specific number of times.
I have vectors x=[3 5 8 10] and v=1:12 starting from last element of vector x i.e 10 8 5 3 in reverse order i want to do foll...
거의 10년 전 | 답변 수: 0 | 0
0
답변질문
How to add particular elements in a vector based on some condition in a loop fashion
I have two vectors L and Z of length 'n' and 'n-1'. for ex:L=[L1 L2 -L3 L4 -L5 L6 L7 -L8 L9 L10] & Z=[Z1 Z2 Z3 Z4 Z5 Z6 Z7 Z8 ...
거의 10년 전 | 답변 수: 1 | 0