Solved


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 ago

Solved


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 ago

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

12 years ago | 0

| accepted

Answered
reading excel data, without knowing range
John, Does reading from the entire worksheet satisfy your requirements? B = xlsread('myExample.xls', 'MySheet')

12 years ago | 1

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

12 years ago | 0

Answered
Java error
Try the solution described here: http://www.mathworks.com/support/solutions/en/data/1-6O3U09/ Ora

12 years ago | 1

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

Answered
Index exceeds matrix dimensions. (loading datas)
Ariana, If your data import worked correctly, your cell C should be a 1x9 cell array, with each cell being a 100x1 double array...

12 years ago | 0

Answered
I open a file with xlsread with windows version of MATLAB, but I can't open the same file with the linux 64 bit version
Paolo, The xlsread command behaves differently on LINUX and Windows, since its full functionality relies on COM communication w...

12 years ago | 1

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

12 years ago | 1

| accepted