photo

SnoopingPoppet


2017년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


I cannot get the timing to work correctly(using tic and toc), I cannot get my while ~(B|R|Y|G) to work, which i need it to reiterate 4 times before it BOOM!, Last, need help with making a sound that makes 3 sharp beeps. Thanks!
tic switch input('Will you cut the (R)ed, (Y)ellow,(B)lue, or (G)reen wire?-->','s') %while ~(B|R|Y|G) %i...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How would I make my song have a diminuendo (a fade out over the last two bars)? This is what I have so far for this portion, but I can't get it to work. Thank you very much for your help in advance, it is greatly appreciated!
fadeOut = input('Do you want the song to fade out?(y/n)-->','s'); if (fadeOut == 'y') dim = linspace(1,0.2,setRate*(...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How do I extrapolate the curve to x = -5 and x = 25 using an appropriate extrapolation approximation?
%This is what I have so far, and I am to plot the extrapolated data points once I get it correctly. Thanks for the help! %The...

대략 7년 전 | 답변 수: 1 | 0

1

답변

질문


How could I make my cost variable into a function so that I could calculate the minimum cost?
% This calculates minimum cost of a material using fminbnd or fminsearch, both of which I need to turn cost into either an anony...

대략 7년 전 | 답변 수: 1 | 0

1

답변

1

답변

질문


Trying to plot the surface and contour plot (surfc) of the temperature distribution of a 1x1 metal plate that goes from (0,0) to (1,1), while it's heated to 100 degrees C on the corner (1,1). THANK YOU!!
%% Declarations x = linspace(0,1); y = linspace(0,1); [xG,yG] = meshgrid(x,y); T = 100*(exp((-0.1)*((xG-1)^2)))*(exp((-0...

대략 7년 전 | 답변 수: 1 | 0

1

답변