Community Profile

photo

Umer Alam


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do you bring about all possible combinations from two row vectors?
Say for example I have x=[1 2 3 4] y=[1 2 3 4] and I wanted to create a new vector z which would give all combinations o...

11 years ago | 1 answer | 0

1

answer

Question


Is there a function to sum 1:n matrices of same size?
I have, n=user input a=sum(matrix 1 to n)=element by element addition for matrices 1 to n to give a matrix of the same s...

11 years ago | 1 answer | 0

1

answer

Question


How to insert data into matrix form?
For example I have data in row matrix from a for loop for each element, for i=l:3 k11(i) k12(i) k21(i)...

11 years ago | 2 answers | 0

2

answers

Answered
How do you insert a changing variable into an input command?
Thanks a lot for both responses I spent many hours finding out, should have used this Mathwork site first. Peace

11 years ago | 0

Question


How do you insert a changing variable into an input command?
So for example, for k=1:5 & i=1:5 x(k)=input('Enter value of (i) state') end For the above I want 5 input comma...

11 years ago | 2 answers | 0

2

answers