Michael Soskind
Followers: 0 Following: 0
Feeds
已回答
Selecting range of data in a matrix
Hi Francis, There are a number of ways to approach this problem. One simple method is to think of using logical operators to fi...
Selecting range of data in a matrix
Hi Francis, There are a number of ways to approach this problem. One simple method is to think of using logical operators to fi...
3 years 前 | 0
| 已接受
已回答
Finding a summation of a two variable function keeping one parameter constant.
Sushanth, The method for doing this depends on your function f(x,N). If this function works with vectors, then the easiest fun...
Finding a summation of a two variable function keeping one parameter constant.
Sushanth, The method for doing this depends on your function f(x,N). If this function works with vectors, then the easiest fun...
3 years 前 | 0
| 已接受
已回答
Changing Linewidth and Font size in thd(x)
Hi Adrian, The fontsize is relatively straightforward: ax = gca; ax.FontSize = 24; will change the fontsize of the title,...
Changing Linewidth and Font size in thd(x)
Hi Adrian, The fontsize is relatively straightforward: ax = gca; ax.FontSize = 24; will change the fontsize of the title,...
3 years 前 | 0
| 已接受
已回答
Finding values in a matrix
Hi HA, As dpb mentioned, if you have these minima calculated by matlab, it is easier to use the computed/saved information in t...
Finding values in a matrix
Hi HA, As dpb mentioned, if you have these minima calculated by matlab, it is easier to use the computed/saved information in t...
4 years 前 | 0
已回答
Create array with random integers, skipping by a certain interval each time
Hi Blake, Using a for loop, your code could look as follows: for i = 1:magic_number % iterate for the number of i...
Create array with random integers, skipping by a certain interval each time
Hi Blake, Using a for loop, your code could look as follows: for i = 1:magic_number % iterate for the number of i...
4 years 前 | 0
已回答
Finding Number of Events with Values Consectively Greater Than a Threshold
Hi Claire, I would use the findpeaks function, a very useful function I like to use for finding peaks of particular width witho...
Finding Number of Events with Values Consectively Greater Than a Threshold
Hi Claire, I would use the findpeaks function, a very useful function I like to use for finding peaks of particular width witho...
4 years 前 | 0
| 已接受
已回答
How to change my equation in an interval to use fminsearch
In general, I would advise using a different method for constructing the function. This would be to index the range of x. This m...
How to change my equation in an interval to use fminsearch
In general, I would advise using a different method for constructing the function. This would be to index the range of x. This m...
4 years 前 | 1
| 已接受
提问
Solving a boundary value problem using bvp4c: forcing a particular form of solution
Hello, I am looking to replicate some results from a paper, linked here. The results are a matlab plot that should generate ...
4 years 前 | 0 个回答 | 0
0
个回答已回答
how to get the value in julian date and time
Hi Monica, The following code should work for your example: % Julian Date Example % modified from https://www.mathworks.co...
how to get the value in julian date and time
Hi Monica, The following code should work for your example: % Julian Date Example % modified from https://www.mathworks.co...
4 years 前 | 0
已回答
Someone help me to fix the problem?
I think you need to use the unique function here. Something that is important to note is that the bar chart requires r to be uni...
Someone help me to fix the problem?
I think you need to use the unique function here. Something that is important to note is that the bar chart requires r to be uni...
4 years 前 | 0
| 已接受
已回答
Problem with Y axis range in percentage
Hi Jordan, Look like you have the following line in your code: yt_new = linspace(min(yt_orig), max(75), numel(y_pct_lbl)); ...
Problem with Y axis range in percentage
Hi Jordan, Look like you have the following line in your code: yt_new = linspace(min(yt_orig), max(75), numel(y_pct_lbl)); ...
4 years 前 | 0
已回答
Finding number of pulses in a data set?
Hi Joey, Looks like findpeaks should be your friend here. load('bit_stream.mat'); plot(bit_stream) [ones,loc_ones,w,p] = f...
Finding number of pulses in a data set?
Hi Joey, Looks like findpeaks should be your friend here. load('bit_stream.mat'); plot(bit_stream) [ones,loc_ones,w,p] = f...
4 years 前 | 0
已回答
Write and read numeric data line by line
Hi Chris, If I were you, I would try and use fprintf and fscanf rather than dlmwrite and dlmread. These are quite a bit fast...
Write and read numeric data line by line
Hi Chris, If I were you, I would try and use fprintf and fscanf rather than dlmwrite and dlmread. These are quite a bit fast...
4 years 前 | 0
| 已接受
已回答
Newton Raphson!but with multiple initial values :/
Hi Alex, Edited: Please note, David Hill's answer is the one I recommend. As a note: To make calculations work on multip...
Newton Raphson!but with multiple initial values :/
Hi Alex, Edited: Please note, David Hill's answer is the one I recommend. As a note: To make calculations work on multip...
4 years 前 | 0
已回答
fitting to a curve defined by an integral
Hi James and Jin, Would you both be willing to take a bit of a different approach? The reason the fit is not working for you ...
fitting to a curve defined by an integral
Hi James and Jin, Would you both be willing to take a bit of a different approach? The reason the fit is not working for you ...
4 years 前 | 0
已回答
fit a curve through selected points with own function
Hi Steve, With regards to curve fitting, when you choose the points, then you can fit it to any function using lsqcurvefit, s...
fit a curve through selected points with own function
Hi Steve, With regards to curve fitting, when you choose the points, then you can fit it to any function using lsqcurvefit, s...
4 years 前 | 0
已回答
point that are under line equation
Hi Mili, There are a few ways to go about this, I think the most obvious is the one I outline below: % Redefining columns as...
point that are under line equation
Hi Mili, There are a few ways to go about this, I think the most obvious is the one I outline below: % Redefining columns as...
4 years 前 | 0
| 已接受
提问
Using the system/dos command to run an external program (RSOFT) using that program's custom DOS command
Hello, I am attempting to use Matlab to run in the background simulations from another program. I was hoping that the system ...
4 years 前 | 0 个回答 | 0