Community Profile

photo

Sunil Kunjachan


GPRC

Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

Message

A Matlab self learner

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How can I add two vectors of same length or different length using for-loops?
for example: x=[9 9 9 9];y=[9 9 9 9] The result should be as z=[1 9 9 9 8]. How can I write a code using for-loops or any othe...

7 years ago | 2 answers | 0

2

answers

Question


How to find the number of repeating sequence in an array?
A sequence is 011011011001111011111001001011001011011001101001011011001111111. I'm looking for a sequence of 111 from the ...

7 years ago | 2 answers | 0

2

answers

Question


How to convert a string (numbers) to number(double) without scientific notation
suppose x='12344566787665546789988776556'; then y=str2num(x) should be as y=12344566787665546789988776556 ...

7 years ago | 1 answer | 0

1

answer

Question


How to concatenate of results from a loop
The output identifies the elements of X that are smaller than the product of their two indexes. for example; X=[1 1;0 4;6 5...

7 years ago | 1 answer | 0

1

answer

Question


How can I multiply two different length vectors using for loops in Matlab ?
ie. [1 2 3] and [1 2] The results should be a vector [3 6 9]. That is (1x1)+(1x2)=3, (1x2)+(2x2)=6,(1x3)+(2x3)=9. Appreciate ...

7 years ago | 1 answer | 0

1

answer