gistlib
other matlab categories
`matlab code snippets in matlab
create a function t=pe^rt. t is total amount, p is the principal loan, r is the loan amount, and t is time in matlab
create a mat lab function that takes as input a number of sides and side length of polygon and outputs location of polygon vertices in matlab
create a while loop to play poker until a full house in matlab
fully connected layer forward pass weight matrix shape 5x5, bias vector shape 25x1, and input shape 25x2 in matlab
given an initial velocity of 150m/s and initial angle of 55 degrees, what is the max height in the y direction in matlab
plot rectified half sine in matlab
square image with circle in the middle, shortest answer in matlab
tell me hi in matlab
using the signal processing toolbox (if necessary), how can you correct for doppler shift in a .wav file? in matlab
using the signal processing toolbox, how can you correct for doppler shift in a .wav file and also apply stft windowing to the signal? in matlab
write a function addsecondandthird that takes a vector as input and returns the sum of its second and third elements. assume the vector input will always have at least three elements in matlab
write a function called calcrmse that given 2 input vectors checks to see if the vectors are the same size. outputs the residual, sum of square errors, and root mean squared error between the vectors in matlab
write a function sumeveryother( v ) that takes in a vector and returns the sum of every other element, starting with the first element and make it without using loops in matlab
write a matlab code for the question,it is 9.58 seconds. what was his average speed in km/h? assign the result to a variable called hundred. in matlab
write code to solve model y = c1*x + c2*ex , and plot the results of the model with a line and the data with black x’s. in matlab
gistlib
by LogSnag