Philip Caplan

MathWorks

Followers: 0   Following: 0

I'm an engineer at MathWorks. I previously studied aerospace engineering at MIT and mechanical engineering at McGill University.
Professional Interests: optimization, numerical methods, computational fluid dynamics

http://www.xkcd.com/979/

Ver insignias

Feeds

Ver por

Respondida
Runge-Kutta method for 2x2 IVP?
I have made some modifications to the shapes of the arrays in your code and changed the representation of the system of ODEs as ...

más de 9 años hace | 0

Respondida
Getting Complex numbers for a (2equation+2unknown)
You can ensure 'sigma' and 'a' are treated as real variables by declaring them slightly differently. Instead of syms sigma ...

más de 9 años hace | 0

Respondida
subs(): Unexpected simplification behaviour
As you mentioned, "subs" should return "Gr2 = 2*A -B". I have notified the development team here at MathWorks about this behavio...

más de 9 años hace | 0

Respondida
Graphic object handle array in embedded matlab function in Simulink in R2014a or newer
Hi Stefan, you are correct. With the changes to the graphics system, you will need to allocate the "hVector" array differently. ...

más de 9 años hace | 0

Respondida
CTRL-C fails to halt execution in R2015a maci64

más de 9 años hace | 0

Respondida
Out of bounds, don't know why and unit step function. Additionally what is unit-ramp function?
When you called "ode45", you were only passing in a scalar value for the initial condition. However, it looks like your "odefun"...

más de 9 años hace | 0

Respondida
How to shift a map, so that the Pacific Ocean will be in the center?
Here is an example of how to shift the x-coordinates of all the geometries stored in the 'concord_roads.shp': S1 = shaperea...

más de 9 años hace | 0

Respondida
How to use the function 'fit' on array of data and create an array of 'fit objects'
Hi Eric - you cannot have arrays of "cfit" or "sfit" objects, which is the type returned by "fit". As such, you cannot index int...

más de 9 años hace | 4

Respondida
Quantum toolbox in Matlab
Which Quantum Toolbox are you referring to? MathWorks is not currently developing a Quantum Toolbox. Perhaps you are referring t...

más de 9 años hace | 0

Respondida
Matlab 2014b using outdated OpenGL version
MATLAB R2014b is only using OpenGL version 2.1 functionality in Legacy mode. For the most part, the functionality used in MATLA...

más de 9 años hace | 0

Respondida
How to compute the functional derivative with respect to 'f(x)'?
The error you are receiving is due to the fact that "fu" and "fx" need to be functions of the same independent variable, otherwi...

más de 9 años hace | 0

Respondida
How do I call standalone MATLAB shared library (built with mcc) from C?
Based on the solution found in the following link, this sounds like it may be related to whether you are using Visual Studio or ...

más de 9 años hace | 0

Respondida
Plot 2D Charts with fints
Hi Jake, you can create a cell array to hold all the line styles you would like to use and then pass the indexed values to "plot...

más de 9 años hace | 0

Respondida

más de 9 años hace | 0

Respondida
how can I change Location values in a MSERRegions object?
Unfortunately, the 'Location' property of "MSERRegions" objects is read-only. Can you explain why you need to change this proper...

más de 9 años hace | 0

Respondida
Assigning two seperate EXCEL columns to two arrays in one go

más de 9 años hace | 0

Respondida
Mex (Matlab 2015a) - error "no supported compiler or SDK was found"
Are you missing a hyphen between g++ and the version number? In other words, try using "g++-4.7" instead of "g++4.7". Also, plea...

más de 9 años hace | 1

Respondida
How to take laplace transform of square(t) function
Since this is a homework problem, I'll only give some hints. The reason you are getting the error message "Input arguments must ...

más de 9 años hace | 0

Respondida
Generate wavelet cross correlation ceofficients using CWT?
From my understanding of the problem, it sounds like you would like to determine the correlation between a given wavelet and the...

más de 9 años hace | 0

Respondida
Passing 3d arrays from .Net application to Matlab
Hi Evgeny, are you using the "ToArray" function? This function does change some properties while converting the array from MATLA...

más de 9 años hace | 2

Respondida
How can I use a 'fitobject' within a function?
You can pass additional parameters to your objective function by creating an anonymous function. Below is an example of passing ...

más de 9 años hace | 1

Respondida
Find real solution of system of algebraic equations (solved in Maple, but can't do it in Matlab)
In order to get a real solution to your system of equations, you need to tell MATLAB to assume your variables are real. You can ...

más de 9 años hace | 0

Respondida
Samsung Galaxy S 10.5
In order to use MATLAB on your Samsung tablet, you will need to install MATLAB Mobile which will enable you to access either the...

más de 9 años hace | 0

Respondida
I couldn't compile my c code with the shared library generated by matlab from m files. How can I resolve this?
This looks like a linker error where the implementations of "mxCreateDoubleMatrix", "mxGetPr", etc. were not found. Is the comma...

más de 9 años hace | 0

Respondida
Possible Bug in Copying Figures
There are some known issues when copying figures as EMF-files through the clipboard to Microsoft Word (mostly with Windows 8, hi...

más de 9 años hace | 1

Respondida
Using builtin assignment for classes that overload the assignment operator '='
You are correct, your code does throw an error about recursion limits. However, I believe the operator you are interested in ove...

más de 9 años hace | 0

Respondida
Failure to "open" an m-file in the editor
Lance - please try regenerating the MATLAB preferences for R2014b as described in the following link: <http://www.mathworks.c...

más de 9 años hace | 0

Respondida
Save GUI axes with legend to jpg
This is expected behavior because the axes object does not save an associated legend. You will need to make a separate call to "...

más de 9 años hace | 0

Respondida
Inputting a vector of data for statical analysis
Based on your application, I assume you mean that you have multiple efficiency values for each car. That is, by "vector of value...

más de 9 años hace | 0

Respondida
How to use Custom-defined link function with poisson regression
From my understanding of the question, it seems you would like to model the average, mu, of a response, y, to input variables, X...

más de 9 años hace | 0