답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 2

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
How to sort data file in matlab , I only want to sort 1st column in ascending order and want the other entries linked with it are automatically arranged.as 1st colum is a no other are properties of it.
Hi, you just need to use _sort_ A = magic(5); [unused,order] = sort(A(:,1)); A(:,:) = A(order,:);

11년 초과 전 | 0

답변 있음
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년 초과 전 | 2

| 수락됨

답변 있음
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년 초과 전 | 4

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 3

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

| 수락됨