Community Profile

photo

Sariha Azad


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • Thankful Level 2
  • Community Group Solver
  • Introduction to MATLAB Master
  • Commenter
  • CUP Challenge Master
  • Promoter
  • Solver
  • Thankful Level 1

View badges

Feeds

View by

Question


Creating matrix with incremental values
How can I create a matrix like A=[1 2 3;4 5 6;7 8 9] using loops?

5 years ago | 1 answer | 0

1

answer

Answered
Assigning a 2D matrix
Well, I got this one. a=[0 0]; for i=1:5 for j=1:3 a=[a;i j]; end end disp(a)

5 years ago | 1

Question


Assigning a 2D matrix
I have to create a 2D matrix, where the row number is unknown. I will have to find the row number. Say, for i=1:5 for j=1:3 I...

5 years ago | 3 answers | 1

3

answers

Question


How can I calculate the number of days between two dates?
Two matrices are given as [dd mm yyyy] format. I want to calculate the number of days between the two days. A=[1 1 2017]; B=[1...

5 years ago | 1 answer | 0

1

answer