Community Profile

photo

Michael Soskind


Last seen: 8 days ago
18 total contributions since 2020

Michael Soskind's Badges

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

View details...

Contributions in
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...

7 days 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...

28 days 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,...

28 days 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...

8 months 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...

9 months 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...

10 months 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...

10 months 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 ...

11 months 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...

11 months 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...

11 months 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)); ...

11 months 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...

11 months 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...

11 months 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...

11 months 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 ...

12 months 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...

12 months 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...

12 months 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 ...

12 months ago | 0 answers | 0

0

answers