Lars Wolff
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
已回答
The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element of v that is equal to a to the end of the vector.
Hi together! It is me again.... I tried: function [w] = move_me(v,a) isscalar(a) a v(:) = v w = [v(v~=a)...
The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element of v that is equal to a to the end of the vector.
Hi together! It is me again.... I tried: function [w] = move_me(v,a) isscalar(a) a v(:) = v w = [v(v~=a)...
6 years 前 | 0
已回答
Please Help Basics Made Hard
Hi! I am already again asking why my function will not graded. My solution: function [dd] = day_diff(month1, day1, mo...
Please Help Basics Made Hard
Hi! I am already again asking why my function will not graded. My solution: function [dd] = day_diff(month1, day1, mo...
6 years 前 | 0
已回答
Error: Unexpected MATLAB expression.
My solution would be: function [price] = fare(distance, age) d = (ceil(distance-1)+1) if d <=1 x = 2 elseif...
Error: Unexpected MATLAB expression.
My solution would be: function [price] = fare(distance, age) d = (ceil(distance-1)+1) if d <=1 x = 2 elseif...
6 years 前 | 0