Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
12 years 前
已解决
Times 2 - START HERE
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
Examples:...
12 years 前
已回答 I can not find the fortran compiler
Ghandour,
mex -setup is looking at your system environment variables and your path to find the compiler. With your setup, you...
已回答 Problem with fzero
Using global variables is a very bad idea. It seems like you're working exclusively with scalars, including M1 / M2 / Mass1 / Ma...
13 years 前 | 0
已回答 Java error
Try the solution described here:
http://www.mathworks.com/support/solutions/en/data/1-6O3U09/
Ora
13 years 前 | 1
| 已接受
已回答 Call other program from matlab
If you're working on Windows, one option is to use COM communication, for instance by creating an actxserver for tecplot in MATL...
13 years 前 | 0
已回答 cell to matrix
From your description, it seems like all of your data sets have the same number of columns, and varying number of rows.
In your...
13 years 前 | 0
已回答 load text file
Depending on the format of your data, TEXTSCAN may be a good option. This is a very flexible function, where you can specify the...
已回答 Help with linking with mex
Elad,
The MEX options file for Intel Fortran Composer XE 2011 with Microsoft Visual Studio 2010 professional linker points to...