photo

Philip Caplan

MathWorks

Attivo dal 2014

Followers: 0   Following: 0

Messaggio

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/

Statistica

  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

Risposto
CTRL-C fails to halt execution in R2015a maci64
Please try to regenerate your MATLAB preferences using the instructions in the following link: <http://www.mathworks.com/matl...

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 4

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

Risposto
Problems downloading Matlab 8.4 for Mac (Yosemite)
Can you try to disable any antivirus software on your computer? Also, try adjusting the System Preferences to allow downloading ...

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

Risposto
Assigning two seperate EXCEL columns to two arrays in one go
It is only possible to import a rectangular range when using either "xlsread", "csvread" or "readtable", therefore, your columns...

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 2

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

Carica altro