photo

Peter


Last seen: 11ヶ月 前 2024 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2

バッジを表示

Feeds

表示方法

質問


This statement is not inside any function.
function sumVector = computeSum(vector) sumVector = 0; for i = 1:length(vector) sumVector = sumVector + vector(i); end ...

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


File: myFact.m Line: 11 Column: 1. This statement is not inside any function.
function result = myFact(n) if n == 0 result = 1; else result = 1; for i = 1:n result = result * i; ...

11ヶ月 前 | 1 件の回答 | 0

1

回答

質問


Error using surf Z must be a matrix, not a scalar or vector.
I was trying to plot using the following code but i get this error. Please help me. Thank you! x=(0:0.1:pi); y=(0:0.1:pi); [X...

12ヶ月 前 | 2 件の回答 | 0

2

回答