photo

Michael Soskind


Last seen: 1 year ago Active since 2020

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 1

| accepted

Question


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 ago | 0 answers | 0

0

answers

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

Question


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 ago | 0 answers | 0

0

answers