A résolu


Add two numbers
Given a and b, return the sum a+b in c.

plus de 5 ans il y a

Question


Data types of arrays in a function
Hey, I am trying to create a function that takes an array as an input arg and returns another array as output arg which should ...

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


I am trying to run this script, but it only returns the last part of the switch- the otherwise part, please help...
The script is here... % Initiating the integer variable, num num=-10:10; % Prompting user to enter integer num=input(...

presque 6 ans il y a | 1 réponse | 0

1

réponse

A résolu


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

presque 6 ans il y a