Community Profile

photo

Marta Gonzalez


Last seen: 1 month ago
3 total contributions since 2020

Contributions in
View by

Question


While problem, generating random numbers
Write a function called one_so_small that takes no input arguments and returns three scalars as output arguments. If it is call...

1 month ago | 0 answers | 0

0

answers

Question


How can I add all the differents additions to one scalar output?
Write a function called summit that takes three vectors of the same length as input arguments (the function does not have to ch...

1 month ago | 1 answer | 0

1

answer

Question


How can I create a function with random imputs? I have to create a function called tri_area that returns the area of a triangle with abse b and heigh h, where b and h are input arguments of the function in that order
function area = tri_area(b,h) b=2 h=3 area=(b*h)/2; end %They ask for ans answer when h=3 and b=2 AND OTHER with random in...

3 months ago | 1 answer | 0

1

answer