**Statistics**

RANK**923**

of 239,432

REPUTATION**53**

CONTRIBUTIONS

**4** Questions

**40** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**9**

RANK

of 16,818

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Extract numbers from mixed string.

There are probably better ways to do this but if this is always going to be the string and only the numbers are going to change,...

5 years ago | 1

| accepted

Solve nonlinear system equation with integral statement within the nonlinear system

You can try setting up the your function in a single function file, adding up F(1) and F(2) to say G and try minimizing G with s...

5 years ago | 0

| accepted

New Linear Model Class

Wanted to agree with Leah here. I ran into this in 2015b using lmfit along with tables to store data in excel and than analyze ...

5 years ago | 0

How to add two loops for two variables in a nonlinear ode

See nested functions... Basically you need to define a function that takes a and b as inputs, solves the ode with one of the ...

5 years ago | 0

for loop with cells and Excel

Unless I don't understand what you are doing, I think the error comes from you using ad_new = ad_ new(....) in the for loop. Yo...

5 years ago | 0

I have Statistics and Machine Learning Toolbox but cannot use allfitdist

Did you download allfitdist.m from the file exchange? This is not a Mathworks function. If you go back to the blog, there is a l...

5 years ago | 0

| accepted

Latin Hypercube of discrete and continuous variables

Does the MixedLinearModel class come close to what you are trying to do? Maybe you can start with that and then try and adapt...

5 years ago | 0

Data structure for mixed-type arrays - cellarray, dataset, structarray, struct of arrays, or other?

I thought about asking a question but was wondering if the "table" structure fits this. I cannot confirm when this data type wa...

5 years ago | 0

Boxplot with vectors of different lengths

You can take a look at boxplot2 from GitHub which I think handles this. Otherwise, a simple work around is to pad your vector...

5 years ago | 0

Need Help with Newton's Method for the Following code; keep getting errors

You may want to look into the following in the documentation: * @ or annonymous functions * preallocation Cleve Moler's r...

5 years ago | 0

Generate a loop with Guassian Elimination for multiple values of one variable

All you are missing is preallocation of your solution matrix outside the loop. solnMat = zeros(length(F1),15); Inside the ...

5 years ago | 0

How to solve an ODE with parameters calculated in another function?

I would try a brute force method having your ODE function calling the function for f(....) right before you set up your dy/dx eq...

5 years ago | 0

The following code doesn't seem to work - it keeps running with no result (RK4 method)

You figure out your mistake yet?? Your code is just "fine"... But your function as you have it above is "wrong". Take a ...

5 years ago | 1

| accepted

How to find eigen vectors?

I love questions like this... As I am always confused? Maybe it is the way you are setting it up in Wolfram but if you have t...

5 years ago | 0

Parallel optimization with extra parameters (fmincon)

You can try a for loop... Something like this. a = 0:0.01:1; b = 0:0.01:1; mSize = max(size(a)); xNew =...

5 years ago | 0

Why is the built-in Cholesky function so much faster than my own implementation?

I am just guessing and based on the help information for chol() is that it uses sparseness as you increase the size of the matri...

5 years ago | 1

Question

Simulating Fortran common blocks with a nested function in Matlab.

I took some Fortran code and converted it into Matlab code. The Fortran code had a lot of common blocks being used to update va...

6 years ago | 1 answer | 0

### 1

answerQuestion

Time Series Data Analysis: Logical segmentation of phases of data

I have high speed mixing data of various materials and during this mixing phase, the materials go through distinct phase changes...

6 years ago | 0 answers | 0

### 0

answersode45 with boundary conditions

Try using bvp4c or bvp5c for boundary value problems. ode45 is a initial value problem.

7 years ago | 1

How to tell loop how many values to skip?

It is definitely possible but your logic is not very clear. Since you are choosing odd intervals, is there some underlying reas...

7 years ago | 0

Does curve fitting toolbox support 3D points?

Maybe I am not getting it but the current curve fitting tool allows for x, y and z data so there is 3D fitting support in the cu...

7 years ago | 0

Why do two optimization toolboxes produce two different results?

Without knowing more about your system... both seem to give similar answers. hi2 = [15.8407983652723 224712.855054258 49190.7...

7 years ago | 0

Problem in using fsolve

Taking Star Strider's approach, I compared "patternsearch" with "fsolve". For patternsearch, I used the following objective fun...

7 years ago | 0

My input method isn't working?

I think you want to define your function Lorentz(t,L). Also, in your call to Ode45, I think you want to indicate Lorentz as t...

7 years ago | 0

Matlab for aiding Wind Turbine Blade Design

The combination of Simulink/SimMechanics/Stateflow could be a very powerful tool for this. I think there are some examples out ...

7 years ago | 1

| accepted

Is there a 3d equivalent of impoly and related functions?

You may want to look at "geom3d" in the file exchange or simply google it. There is a lot of functions in this toolbox to creat...

7 years ago | 0

Basic question from Matlab beginner

For plotting Wage vs. Age, see anonymous functions ('@'). You can define the range for your age and using the coeficients you f...

7 years ago | 0

Looking for a mechanical or magnetic pick-up tool that is controllable with Simulink/Matlab.

You can try the Lego Mindstorms NXT projects through the file exchange. Even with these, you are going to have to roll up yo...

7 years ago | 0

Data normalization for stock values.

Really Francisco? Normalization for stock prediction? If any of us had that answer we would all be rich. If Matlab had ...

7 years ago | 0

MATLAB : What is it scope in Embedded Systems

If you are a student, I recommend just buying the student version for a reasonable price. This comes with a nice variety of too...

7 years ago | 0