Community Profile

# Patrick Scott

Last seen: 2年弱 前 2020 年からアクティブ

バッジを表示

#### Content Feed

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...

2年以上 前 | 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...

### 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...