Calculations in a column vector

Hello!
I have the following problem to solve:
I have sat here for fifty minutes now and my brain is completely stuck. I can't even get started with this.
Any help is appreciated!

8 个评论

you need to try a little bit more.
Look at length, mean, min, and max functions. Look at your work space after loading the file. Experiment.
Thank you for the reply! That helps a bit, I'll keep experimenting.
I think I got the two first ones. I would appreciate the tiniest hint on the third script (workerRange).
That's the one you need min and max functions for. Also, as you likely know, you can create 1x2 row vactor as such
matrix = [12 , 15];
Those numbers could instead be functions that output numbers and it still works.
Thanks so much for helping, despite the fact that I seem desperate with this. I'm really advancing now with understanding!
I would like to examine how, for example, the column vector "worker" looks like. Is there a command for this?
You could double click its name in the Workspace pane. Or, if it is not too big, just type the name of the variable at the command line and press Enter.
Fantastic, thank you! Writing the name of the variable on the command line and pressing Enter did the trick nicely. I managed to complete this task, kudos to all of you kind helpers.

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Multidimensional Arrays 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by