# Jon

**Statistics**

RANK**85**

of 258.288

REPUTATION**1.529**

CONTRIBUTIONS

**10** Questions

**545** Answers

ANSWER ACCEPTANCE **
80.0%
**

VOTES RECEIVED**164**

RANK

of 17.801

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 110.412

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to input this vector in simulink ?

In general for this situation you could use a From Workspace block (in sources library) , where you would assign the input matri...

1 día ago | 0

How to loop through each row of a column, then loop through the remaining columns?

It's a little hard to tell without having the values for your matrix data to try this with, but it looks like you should modify ...

3 días ago | 0

Finding First non-zero derivative to find nature of turning point

Assuming you are always working with polynomials you could try something like this. This code is untested but should help point ...

3 días ago | 0

How to transfer data between two applications?

In appA add an instance of appB as a property (and assign it in the startup function). In appB assign a property for the data ...

3 días ago | 0

Hello, Could anyone please help me with this issue. In this code, I want to save the output results after each increment in excel and I am unable to do it. Thanking you .

You don't really explain exactly what your problem is (you just say you "can't do it"). I assume your problem you are complaini...

4 días ago | 0

How to filter the following vector from multiple vectors?

I think this does what you describe % filter matrix mm % parameters threshold = 32 % extract the matrix out of the cell ...

9 días ago | 2

| accepted

"Intermediate dot indexing produced a comma-separated list.." error prevents extracting values from nested indexed fields

If you want the max over all of the grades you can do it very simply like this val = max([a.students.grades])

9 días ago | 1

| accepted

generating a more detailed contour plot

If you want more contor lines (is this what you mean by resolution?) you can use the additional levels argument to do this, so f...

10 días ago | 0

| accepted

How to properly structure code in appdesigner?

I have been taking an approach where I try to keep the code in the app designer very simple and then define a class which provid...

10 días ago | 1

| accepted

Holding the Previous Value of For Loop and Sum

The problem is that you overwrite your value of data each time the inner loop is executed. If you just want to plot each image ...

11 días ago | 0

| accepted

Finding the average temperature of a thermal image

If there is a sufficient difference between the background temperature and the hand temperature, then you could just set a thres...

11 días ago | 0

i need a for loop that outputs certain numbers

incr = 2; % increment value numIter = 3; % number of iteration x = 1; % initial value X = zeros(numIter,2); % array to hold v...

11 días ago | 0

| accepted

How can I transform polynomials such that they overlay each other?

Assuming you want them to match at some particular value of x you could do something like this. By the way the first curve in y...

14 días ago | 0

How to calculate th mean/average value for a repetetive time step

You should be able to use MATLAB's movmean https://www.mathworks.com/help/matlab/ref/movmean.html for this without any loops

14 días ago | 0

state space matrix magnitude changes sampling rate

I think that you are just getting a little confused about the time scaling. In the nominal case you can see that the system rea...

15 días ago | 1

| accepted

ODE45 projectile angle input

Using ode45 you integrate (solve the differential equations) for the x and y components of the velocity and position. The initi...

16 días ago | 0

| accepted

How to execute a task every 20 minutes for 10 hours every day from 7:00 to 17:00

You could use two timers. The first timer would execute with a 24 hour period executing at 7:00AM each day. Its callback functi...

16 días ago | 0

How do I create a loop for this calculation in MATLAB?

Slightly different interpretation of how you want to do loops, I ignored the first comment about 25 iterations. Regardless it se...

16 días ago | 0

How to create table or matrix from these cell array in MATLAB?

I'm not sure what you want to do with the data, but you could organize it in a table where each row is a test (or whatever the 5...

16 días ago | 0

How to combine two matlab functions to get only one?

This would be one approach, in which you keep your original MA_from_TA function, but within Time_of_Flight you call it twice fu...

17 días ago | 1

| accepted

Find indexes in cell array

R1={'2B' , '1A' , '1A' , '2B' , '1D' , '1A+1C' ,'1A+1C' , '1D' , '1A+1C' , '1B+1E' , '1B+1E', '1D'} C1={'1A' , '2B' , '1A+1C' ,...

17 días ago | 0

| accepted

Splitting a matrix according to there labels

This is one way to do it % make an example data file with last column having either a "label" of 1, % 2, or 3 data = [rand(...

17 días ago | 0

| accepted

How to save figures and subplots App Designer

This is a way of making a screen shot of the figure within app designer plot(app.UIAxes,1:100,rand(1,100)) ...

18 días ago | 0

| accepted

How to plot data from JSON Structure array

I don't understand what you are expecting to happen in your example code. Your variable downloaded_data is assigned to an array...

18 días ago | 0

| accepted

is it possible to further plot Figures previously saved in .fig or .png mode?

Save your figures as .fig files. Then follow the directions in this previous post which explains exactly how to put the figures...

18 días ago | 1

| accepted

column number extract using find function..

A = [ 0 500 1000 1500 2000 2500 3000 3500 x1 x2 x3 5500 6000 6500 7000 7500 8000 8500 9000 9500 10000 ] ; matchVals = [500,10...

21 días ago | 0

I'm having this kind of error in the below code g Error using ceil Too many input arguments. Error in g (line 6) CG = ceil(G,1);

Unless the first argument to the ceil function is a duration (time) then ceil only takes one argument. So in your call it doesn'...

21 días ago | 0

4 Dof response with state space formulation and ode45

You may have other errors too, but one thing that doesn't look correct is the multiplication A1*y in your odefun. A1 is an 8x8...

22 días ago | 1

Assigning an iterative variable a script

The problem is that you preallocated suit1, and suit2 as a vector of doubles (numeric values), but then in the loop you assign ...

22 días ago | 0

| accepted

Find closest sphere in a cluster with random spheres having different diameters-2

Here is another approach, in which we consider the spheres to be nodes in an undirected graph with edges connecting the nodes wh...

23 días ago | 1

| accepted