Community Profile

photo

Raghavendra Reddy P


Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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(...

6 years ago | 1 answer | 0

1

answer

Question


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...

7 years ago | 1 answer | 0

1

answer

Question


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 years ago | 4 answers | 1

4

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 0 answers | 0

0

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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...

9 years ago | 1 answer | 0

1

answer

Question


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...

9 years ago | 1 answer | 0

1

answer

Question


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...

9 years ago | 0 answers | 0

0

answers

Question


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 ...

9 years ago | 1 answer | 0

1

answer