Community Profile

photo

Aidan Palermo


Last seen: 5 maanden ago Active since 2021

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

meer dan een jaar ago | 1 answer | 0

1

answer

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

bijna 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

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

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


how do I plot multiple points on the same graph?
Im trying to create a graph using the coordinates in the code. When I hit run I recieve this message "Invalid expression. When c...

meer dan 2 jaar ago | 1 answer | 0

1

answer