Community Profile

# Aidan Palermo

Last seen: 2 månader ago Active since 2021

#### Content Feed

View by

Question

trouble plotting curved line
I'm trying to plot a curved line but it keeps coming out linear. I was told it could be because I linspaced both the T and S var...

### 1

Question

Plotting the theoretical maximum possible efficiency of a heat engine
I'm trying to create a temperature vs. efficiency plot using the equation n=1-(Tl/Th) for 3 different Tl values. clear all c...

### 1

Question

plotting T-U diagram using XSteam
for n=[1:220] T=XSteam('Tsat_p',n); vapor_u=XSteam('uV_T',T); liquid_u=XSteam('uL_T',T); end I'm trying to find tem...

### 1

Question

can a random number generator be used in a matrix?
I'm trying to make a minesweeper game in matlab so I set up a matrix A=zeros(10) and I wanted to know if I could write the code ...

ungefär ett år ago | 1 answer | 0

### 1

Question

how to find the length of interpolated graph?
I created a graph that would go through these specific x and y values using the interp1 function. now I can't figure out how to ...

ungefär ett år ago | 1 answer | 0

### 1

Question

error in creating rock, paper, scissors game
%game conditions user_play = input('chose R for rock, P for paper, S for scissors:'); %randomness for comp_play = randi(im...

mer än ett år ago | 1 answer | 0

### 1

Question

trying to find theta
% plot mountain Mn_x = [0, 1000, 3014.8]; Mn_y = [0, 0, 616]; plot (Mn_x, Mn_y) hold on % known variables Xo = 0; Yo = 1;...

mer än ett år ago | 1 answer | 0

### 1

Question

how to calculate theta
theta = 0:1:90; 3010 == Xo + (V .* cosd(theta)) .* t I'm trying to calculate the angle needed to travel 3010 ft but I keep g...

mer än ett år ago | 1 answer | 0

### 1

Question

graph won't plot in correct spot
% plot mountain Mn_x = [0, 1000, 3014.8]; Mn_y = [0, 6, 1000]; plot (Mn_x, Mn_y) hold on % known variables Xo = 0; Yo = 1...

mer än ett år ago | 1 answer | 0

### 1

Question

No data points appear on the graph when I hit run
figure (1) %selects plotting window #1 plot(0, 98, 'c--', .02, 245, 'c--', .04, 490, 'c--', .05, 735, 'c--', .06, 931, 'c--', ....

mer än ett år ago | 1 answer | 0