Beantwortet
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)

fast 5 Jahre vor | 1

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

fast 5 Jahre vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

fast 5 Jahre vor

Frage


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

fast 5 Jahre vor | 3 Antworten | 1

3

Antworten

Frage


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

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort