Tyler F
Followers: 0 Following: 0
Feeds
提问
Optimized Iterations and Permutations
I run a good number of simulations that so far I have been doing with deeply nested loops but I figure there has to be some more...
2 years 前 | 1 个回答 | 0
1
个回答已回答
creating vector from n value
You can use the repmat function. n=2; N = repmat(1/n,1,n) >> [0.5 0.5]
creating vector from n value
You can use the repmat function. n=2; N = repmat(1/n,1,n) >> [0.5 0.5]
3 years 前 | 0
已回答
Finding Average Day for each hour from large dataset
Your first column is hours, you could use the reshape command to convert your data into a 24 x 365 matrix then do operations on ...
Finding Average Day for each hour from large dataset
Your first column is hours, you could use the reshape command to convert your data into a 24 x 365 matrix then do operations on ...
3 years 前 | 0
已解决
5 Prime Numbers
Your function will be given lower and upper integer bounds. Your task is to return a vector containing the first five prime numb...
3 years 前
已解决
Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...
3 years 前
已解决
Fast 1-D Convolution (full shape)
This is the first problem in the <http://www.mathworks.com/matlabcentral/cody/?term=Fast+1-D+Convolution fast 1-D convolution se...
3 years 前
已回答
storing values in for loop
You arent storing the value for each loop. Every time it loops the values for a and b overwrite. I cant run your code without yo...
storing values in for loop
You arent storing the value for each loop. Every time it loops the values for a and b overwrite. I cant run your code without yo...
3 years 前 | 0
已回答
How to pass this signal in time to frequency?
Assuming t is a vector of time stamps, dt is your sampling time, to get a "proper" fft plot I would add this to the end of your ...
How to pass this signal in time to frequency?
Assuming t is a vector of time stamps, dt is your sampling time, to get a "proper" fft plot I would add this to the end of your ...
3 years 前 | 0
已回答
I need to take a string ,and return the first recurring character.
Without helping you too much for a HW assignment, there are a few other commands you can use that may be included in your approv...
I need to take a string ,and return the first recurring character.
Without helping you too much for a HW assignment, there are a few other commands you can use that may be included in your approv...
3 years 前 | 0