Community Profile # Ethan Sehrt

9 total contributions since 2016

View details...

Contributions in
View by

Question

what is the difference between axis normal, axis square, axis equal, and axis tight?
what is the difference between axis normal, axis square, axis equal, and axis tight?

4 years ago | 1 answer | 0

### 1

Question

How do you print data from the command window without a script? Do I need a script to print that information?
I'm trying to print an 'fprint' display in the command window, but whenever I publish it, the script is the only thing being pri...

4 years ago | 0 answers | 0

### 3

Question

i'm trying to create an if loop so that I can run my program starting with x=1 and increasing by 1 to x =3.
The conditions are as follows: if x=2, f=Inf if x=>2, f=NaN otherwise run the function, f=log(5/2-x) x2 = 0; ...

4 years ago | 1 answer | 0

### 1

Question

How do I compute the geometrical mean given the data: 92.3, 93.2, 91.9, 93.5, 92.7, 93.1, 93.8, 92.4
D5=[92.3 93.2 91.9 93.5 92.7 93.1 93.8 92.4]; n=length(D5); geometric_mean=0 for q=1:n; z=D5(q); geomet...

4 years ago | 1 answer | 0

### 1

Question

How do I define a variable without assigning it a value?
I just want to define a variable, f without assigning any values to it so I can use it in an equation.

4 years ago | 4 answers | 2

### 4

Question

How to produce an 'if else' loop with an x starting at 1 and increasing to 3 by 1 at each end of the loop
x = [1:1:3]; if x == 2; f2 = inf elseif x > 2; f2 = NaN else f2 = log(5/2-x) end I'm trying to inp...

4 years ago | 1 answer | 0