photo

Patrick Scott


Last seen: 2 years ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Answered
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 years ago | 0

| accepted

Question


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 years ago | 2 answers | 0

2

answers

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer

Question


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 years ago | 1 answer | 0

1

answer