photo

Joe Exotic


Last seen: 4年弱 前 2021 年からアクティブ

Followers: 0   Following: 0

Spoken Languages:
English, Russian, Spanish

統計

MATLAB Answers

2 質問
0 回答

ランク
257,739
of 300,857

評判
0

コントリビューション
2 質問
0 回答

回答採用率
100.0%

獲得投票数
0

ランク
 of 21,097

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 171,361

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Thankful Level 2
  • Thankful Level 1

バッジを表示

Feeds

表示方法

質問


I have a function "f" that returns a 1x2 vector, and I need to make a 3x2 matrix M by stacking the outputs f(x1), f(x2), f(x3) on top of each other, but Matlab won't parse it.
First, I wrote: M = [f(x1); f(x2); f(x3)] That didn't work - it gave me only the first outputs of every f (resulting in a 3x1 ...

約4年 前 | 1 件の回答 | 0

1

回答

質問


Why is a statement like "sortrows(A)(2:4)" "invalid array indexing" and how can I circumvent adding an extra line of code to make it work?
I could write: sorted = sortrows(A) sorted(2:4) However this seems clumsy and unnecessarily long to me. How can I compress it...

約4年 前 | 1 件の回答 | 0

1

回答