Patrick Scott
Followers: 0 Following: 0
Feeds
回答済み
Can you have a if statement for even/odd?
function [z_bar]=fnZbar(height) j = length(height)/2; k = j - fix(j); if k==0 %Even # z_bar= 1; else %...
Can you have a if statement for even/odd?
function [z_bar]=fnZbar(height) j = length(height)/2; k = j - fix(j); if k==0 %Even # z_bar= 1; else %...
2年以上 前 | 0
| 採用済み
質問
Can you have a if statement for even/odd?
I would like to have this function check my input matrix if it is an even or odd length and then return a specific value. I'm go...
2年以上 前 | 2 件の回答 | 0
2
回答質問
How can I call an array of letters into a for loop?
I would like to setup this for loop to output each interation of with the coorasponding part of my homework. I can do it all ind...
約3年 前 | 1 件の回答 | 0
1
回答質問
Tan/ cot angle return
Is there a way to return both possible angles for the trig equations I used in vpasolve below? %% Input Inital Conditions and C...
3年以上 前 | 1 件の回答 | 0
1
回答質問
Array indices must be positive or logical values
I am trying to conduct Implicit Midpoint and I am getting stuck. Why does this error appear? It is also coming up for my Adams-B...
3年以上 前 | 1 件の回答 | 0
1
回答質問
Adjust Plot to Center on a specific point
I have a 2-body plot (Earth and Mars) and the center of the plot is not on one of the bodies. I would like to shift the center t...
4年弱 前 | 1 件の回答 | 0