Community Profile

photo

Marc


W R Grace & Co

44 total contributions since 2013

Contact

Marc's Badges

  • First Review
  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer

View details...

Contributions in
View by

Answered
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,...

3 years ago | 0

| accepted

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

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

3 years ago | 0

| accepted

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

3 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

Answered
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 =...

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 0 answers | 0

0

answers

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

5 years ago | 1

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 0

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

5 years ago | 1

| accepted

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

5 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

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

6 years ago | 0

Load more