SnoopingPoppet
Followers: 0 Following: 0
Statistiques
9 Questions
0 Réponses
RANG
38 397
of 295 673
RÉPUTATION
1
CONTRIBUTIONS
9 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
55.56%
VOTES REÇUS
1
RANG
of 20 262
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 154 257
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
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...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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*(...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
How would I get the part to get the song to play backwards working correctly? How would I add a fade to the end of the song? and how would I get the program to ask all these questions and then play one song instead of one for each question? THANKS!!
%% Constants and inputs setFreq = 440; setBarLength = 1; setRate = 8192; %% Jukebox Code ...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
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...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
An object starts with an initial velocity of 3 m/s at t = 0 and it accelerates with an acceleration of a(t) = 7t m/s2 . Find the total distance traveled in 4 s using two polyint(), and print your answer with units to the command window.
I'm not sure if it is necessary to look up physics formulas for this or what? I have no experience with polyint, I just know th...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
I am trying to make a mesh plot with a contour plot beneath it where the decayTime goes from 0.5-10, and time goes from 0 to 15. My formula for the z variable is included below, and I know how to plot, just not where my error is. THANKS!!
%% Declarations phaseShift = 0; oscillationFreq = 2; % rad/s decayTime = linspace(.5,10); % seconds ...
environ 7 ans il y a | 1 réponse | 0
1
réponseQuestion
Need help with summation in a while loop. i believe my argument inside of while is wrong, but i'm not sure how to fix. Assignment is to Write a while loop that assigns summedValue with the sum of all values from 1 to userNum.(assume userNum>=1).
function summedValue = SummationWithLoop(userNum) x=1:1:userNum; xSum=0; k=1; while (xSum<=userNum) xSum = ...
environ 7 ans il y a | 1 réponse | 1
1
réponseQuestion
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...
environ 7 ans il y a | 1 réponse | 0