解決済み


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

10年弱 前

解決済み


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

10年弱 前

回答済み
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...

10年弱 前 | 0

| 採用済み

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

10年弱 前 | 1

回答済み
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...

約10年 前 | 0

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

約10年 前 | 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...

約10年 前 | 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...

約10年 前 | 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...

約10年 前 | 0

回答済み
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...

約10年 前 | 0

回答済み
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...

約10年 前 | 1

回答済み
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...

約10年 前 | 1

| 採用済み