統計
MATLAB Answers
8 質問
0 回答
ランク
of 170,858
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
How to loop half matrix
for i=2:nhx-1 for j=2:nhy-1 Unew(i,j) = U(i,j)-dt*(P(i+1,j)-P(i-1,j))/(2*hx)... +nu*dt*(1/(hx*hx)...
4年以上 前 | 1 件の回答 | 0
1
回答質問
How to produce square matrix in this form
How can I form a square matrix in this form regardless of its dimension. Note that the pattern; 1 will form after three 0 from t...
4年以上 前 | 1 件の回答 | 0
1
回答質問
Replace nested loops with a matrix
I have to optimize this code but i am not sure how to turn it into a matrix. for i=2:nhx-1 for j=2:nhy-1 U(i,j)= ...
4年以上 前 | 2 件の回答 | 0
2
回答質問
Number of elements error
p = [2 3 4 5 6 7 8 9 10]; L2 = zeros(size(p)); xchange = zeros(size(p)); f = @(x) (cos(2*x)).*(sin(x)-0.5*x.^2); for j = 1...
7年弱 前 | 1 件の回答 | 0
1
回答質問
Determine function as output
How can i determine if the output is a fraction, it will return true, or else its a false. Are there any specific function?
7年以上 前 | 0 件の回答 | 0
0
回答質問
How to determine fraction as an output?
I used the '[v,d]=eig(A)' function, but it prints 72.00000 instead of 72. If it is a fraction (eg: 1/3 which will produce 0.3333...
7年以上 前 | 1 件の回答 | 0
1
回答質問
How to find the scalar multiple of two vectors?
Example; a=[1;2;3] and b=[2;4;6], hence the lambda is 2.
7年以上 前 | 1 件の回答 | 0
1
回答質問
How to check that two column vectors are multiple of each other?
Example [1;2;3] and [2;4;6]. Are there any specific functions i can use?
7年以上 前 | 1 件の回答 | 0
