Community Profile

photo

Rich Gar


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How do I make a 10 x 10 matrix variable with the numbers 1 to 100, in both column and row major forms?
So I know how to make a row vector of numbers 1 to 100, x=[1:100], but how do I make it so that it's organized into column major...

9 years ago | 2 answers | 0

2

answers

Question


How do I easily make a matrix variable of 5 rows, each with the same string?
So I know I can type x=char('Dandy','Dandy','Dandy','Dandy','Dandy'), but how do i do it without manually retyping the word?

9 years ago | 1 answer | 0

1

answer