Answered
solving systems of second order differential equations with initial conditions and plotting
Hi, for ode systems, you don't necessary need to use the symbolic math toolbox, just use basic functions of matlab such as <h...

11 years ago | 0

Answered
How do I convert units?
when you do your plot, instead of plotting all your _y_ data against _wavenumber_, just plot against _wavelength_ plot(wavenu...

11 years ago | 0

Answered
I have a cellarray (100000000*2cell) ,how can I save the cell in excel more quickly ?
if your cell array is really a 100000000*2 cell, it is too big for Excel (maximum number of line : 2^20 = 1048576). you shoul...

11 years ago | 0

Answered
gui window dose not fit the screen, changing the pixels characters ratio
Hi, you can create your gui directly in characters unit. if you're using guide, use the inspector on the figure and change t...

11 years ago | 0

Answered
how to write text or character
Hi, you want something like : stop={'a', 'about', 'above', 'the'}; fid = fopen('MyFile.txt','wt'); for i = 1:l...

11 years ago | 1

| accepted

Answered
i want to save cell data as csv format ,but il shows there is a error,how can i save these cell array as csv format? thanks
Hi, The problem is that you have a cell inside a cell, so you can't write it in a csvfile. it will mean that you create a te...

11 years ago | 0

Answered
How to change the window title of Matlab with -nodesktop mode on
Hi, I never tried to do this, but when I want to get (or change) the title of the Matlab Window, I use an other command : ...

11 years ago | 0

Answered
How to solve (minimize) with restrictions a system of three equations with three unknown variables
Actually, all your variables ( _x, y and z_ ) are defined in one vector when you use fmincon. meaning : x -> x(1) y ...

11 years ago | 0

Answered
getting Subscripted assignment dimension mismatch.
Hi, if you do for i=1:3 vec=(1+i):(2+i); mat(i,:)=vec; vec=[]; end for i=1:3 vec...

11 years ago | 0

| accepted

Answered
Opening multiple fields within the same level of a structure
Hi, to access the fields of a structure you need to use _fieldnames_ . data.array1 = rand(16,1); % ... data.array8...

11 years ago | 2

| accepted

Answered
How to solve (minimize) with restrictions a system of three equations with three unknown variables
Hi, if you have the optimization toolbox, you can use <http://www.mathworks.fr/fr/help/optim/ug/fmincon.html fmincon> ( _Find...

11 years ago | 0

Answered
How can I change the axes properties in GUI created by guide?
Hi, you can change the default font size directly in Matlab. in your OpeningFcn, you can add set(0,'DefaultUicontrolF...

11 years ago | 0

Answered
Plotting multiple graphs in one plot.
Hi, it seems that you just want to do some subplots : t = 0:0.01:10; a1 = cos(t); a2 = sin(t); figure; ...

11 years ago | 0

| accepted

Answered
Is there anyway to slove a trigonometric function in a easier way in MAtlab?
Hi, if you have just one equation with one unknown variable, which seems to be the case at the end, you can use <http://www.m...

11 years ago | 0

Answered
using a figure in a for loop for different figures
I don't get why you use a for loop on i. It seems to me that the result you want is more like : % constants similar to thr...

11 years ago | 2

| accepted

Answered
how can i combine two vector into one vector by the follwoing pattern ( and not use "For" Loop which take a lot of time , since this vector is a Million of elements ):
Hi, the command _a3=[a1; a2];_ will put the _a2_ vector at the end of the _a1_ vector and not alternate the value of _a1_ and...

11 years ago | 4

Answered
How to manually edit the uitable in a MATLAB GUI?
Hi, Once the _edit_ is filled and you click on _apply_, you need to use the handle of your uitable, let say _utable_, and spe...

11 years ago | 0

| accepted

Answered
How to change size of uitable?
Hi, you can resize the columns of your uitable. once you have filled the table with your data, you can use the _ColumnWidt...

11 years ago | 3

| accepted

Answered
Convert multiple GUI into EXE file?
Hi, It seems that you want to make a standalone application. There is a dedicated toolbox for this : Matlab Compiler, with...

11 years ago | 0

Answered
How can I process a sequence of EXCEL files inside a FOR loop
Hi, You need to do a loop like this : for i = 1:n % ask the user the name of excel file (without the extension...

11 years ago | 0

| accepted

Answered
Adding two axes to a graph - Error message
Hi, you can use the _subplot_ function, so you can create two axes and plot one variable in each. t = 0:.01:10; subpl...

11 years ago | 0

Answered
Change background color in pushbutton [Matlab-GUI]
Hi, You have to do something like this : function pushbutton1_Callback(hObject, eventdata, handles) % Get the handles...

11 years ago | 1

| accepted