Community Profile

photo

Jatan Shah


Last seen: más de 2 años hace Con actividad desde 2021

Estadísticas

All
  • First Answer
  • Solver

Ver insignias

Content Feed

Ver por

Respondida
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
function valid = valid_date (year, month, day) if nargin<3 valid = false; elseif ~isscalar(year) || year<1 || yea...

más de 2 años hace | 3

Resuelto


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

más de 2 años hace

Resuelto


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

más de 2 años hace

Resuelto


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

más de 2 años hace