353 total contributions since 2014

Professional Interests: diverse and varied

Answered

Hello, i want to plot graph and workout area under that graph, i m doing it by polyarea function, but certain errors are generated, pls help?

Hi, In your mat file, F1 and V1 are cells, not arrays. A cell is an object that can contain numbers, strings, ... there is ...

Hello, i want to plot graph and workout area under that graph, i m doing it by polyarea function, but certain errors are generated, pls help?

Hi, In your mat file, F1 and V1 are cells, not arrays. A cell is an object that can contain numbers, strings, ... there is ...

casi 4 años ago | 0

Answered

How to send a Matrix from a gui to another gui?

Hi, you can use the functions _getappdata_ and _setappdata_. let say that in your callback you get the matrix MyData. ...

How to send a Matrix from a gui to another gui?

Hi, you can use the functions _getappdata_ and _setappdata_. let say that in your callback you get the matrix MyData. ...

casi 4 años ago | 1

| accepted

Answered

I'm trying to write a code that import several data from multiple folder

The code I showed should work. You just need to adapt it. % Path of the main folder : Rotation yourpath = 'H:\Inspection...

I'm trying to write a code that import several data from multiple folder

The code I showed should work. You just need to adapt it. % Path of the main folder : Rotation yourpath = 'H:\Inspection...

casi 4 años ago | 0

Answered

How can I edit my Excel data in a UItable Gui?

Hi, For what I see your callback is not at a proper place. The CellEditCallback is called when you modify manually the con...

How can I edit my Excel data in a UItable Gui?

Hi, For what I see your callback is not at a proper place. The CellEditCallback is called when you modify manually the con...

casi 4 años ago | 0

Answered

how many times a string is present in a cell array

Hi Pamela, you can to something like this MyResult = []; for i = 1:length(a) x = find(strcmp(a{i},b)); ...

how many times a string is present in a cell array

Hi Pamela, you can to something like this MyResult = []; for i = 1:length(a) x = find(strcmp(a{i},b)); ...

casi 4 años ago | 1

Answered

I'm trying to write a code that import several data from multiple folder

Hi, you need something like this (adapt it to your path and folders) % Path of the main folder : Rotation yourpath =...

I'm trying to write a code that import several data from multiple folder

Hi, you need something like this (adapt it to your path and folders) % Path of the main folder : Rotation yourpath =...

casi 4 años ago | 0

| accepted

Answered

How to solve integral in matlab

Hi, to calculate integrals, the classic function to use is <http://fr.mathworks.com/help/matlab/ref/integral.html integral>. ...

How to solve integral in matlab

Hi, to calculate integrals, the classic function to use is <http://fr.mathworks.com/help/matlab/ref/integral.html integral>. ...

casi 4 años ago | 0

Answered

how do i make 'Interpreter', 'none' work inside the waitbar text?

Hi, Here's one way to do it % Create a classic waitbar h = waitbar(0,'my_name'); % change the interpreter of ...

how do i make 'Interpreter', 'none' work inside the waitbar text?

Hi, Here's one way to do it % Create a classic waitbar h = waitbar(0,'my_name'); % change the interpreter of ...

casi 4 años ago | 1

Answered

Import variables from .m file to gui

Hi there are several ways to store a data in a gui. You can use getappdata/setappdata. a = 1; setappdata(gcf,'a',a); ...

Import variables from .m file to gui

Hi there are several ways to store a data in a gui. You can use getappdata/setappdata. a = 1; setappdata(gcf,'a',a); ...

casi 4 años ago | 0

Answered

updating tooloboxes with newest version of Matlab

Hi, It depends. When you buy a matlab licence, you have free maintenance for one year for all the toolboxes you possess. S...

updating tooloboxes with newest version of Matlab

Hi, It depends. When you buy a matlab licence, you have free maintenance for one year for all the toolboxes you possess. S...

casi 4 años ago | 0

| accepted

Answered

How can I find the threshold for a structure array?

Hi, Without knowing what your data looks like, it's hard to answer. I tried this code and it works : Target_Tr.s1 = ...

How can I find the threshold for a structure array?

Hi, Without knowing what your data looks like, it's hard to answer. I tried this code and it works : Target_Tr.s1 = ...

casi 4 años ago | 0

| accepted

Answered

how to solve anonymous function in Simulink

Hi, I answered to a similar question <http://fr.mathworks.com/matlabcentral/answers/275927-how-can-i-find-implement-fzero-in-...

how to solve anonymous function in Simulink

Hi, I answered to a similar question <http://fr.mathworks.com/matlabcentral/answers/275927-how-can-i-find-implement-fzero-in-...

casi 4 años ago | 0

| accepted

Answered

How to output a nested cell array data to .csv or .xls

Hi, you can't write this kind of variable in one time. eventually, you can write it in a xls file using a for loop. som...

How to output a nested cell array data to .csv or .xls

Hi, you can't write this kind of variable in one time. eventually, you can write it in a xls file using a for loop. som...

casi 4 años ago | 0

Answered

i hv developed a code in matlab.how to execute it in gui form like given below

Hi, Use <http://fr.mathworks.com/videos/creating-a-gui-with-guide-68979.html?s_tid=srchtitle guide> to build a gui.

i hv developed a code in matlab.how to execute it in gui form like given below

Hi, Use <http://fr.mathworks.com/videos/creating-a-gui-with-guide-68979.html?s_tid=srchtitle guide> to build a gui.

casi 4 años ago | 0

Answered

Concatenate variable value and variable name into new variable name.

Hi, something like : animal = 'cat'; operation = 'mean'; result = horzcat(animal,'_',operation)

Concatenate variable value and variable name into new variable name.

Hi, something like : animal = 'cat'; operation = 'mean'; result = horzcat(animal,'_',operation)

casi 4 años ago | 1

Answered

Possible to use fanplot in a GUI? (SOLVED)

Hi, I don't know this function (don't have the associated toolbox), but for what I see in the doc, you can do it. First, c...

Possible to use fanplot in a GUI? (SOLVED)

Hi, I don't know this function (don't have the associated toolbox), but for what I see in the doc, you can do it. First, c...

casi 4 años ago | 0

Answered

Guide : fonction pour afficher une valeur

Hello Franck, First, you should post your question in english. This way, everybody can understand your question. About i...

Guide : fonction pour afficher une valeur

Hello Franck, First, you should post your question in english. This way, everybody can understand your question. About i...

casi 4 años ago | 0

Answered

Save workspace and move file

One way to do it . % name of all files with different extension : toto.m, toto.mat,... filename = 'toto'; allfile...

Save workspace and move file

One way to do it . % name of all files with different extension : toto.m, toto.mat,... filename = 'toto'; allfile...

casi 4 años ago | 0

| accepted

Answered

Save workspace and move file

I guess it misses the _.mat_ extension in the variable filename. You need to add it : change filename=handles.essais...

Save workspace and move file

I guess it misses the _.mat_ extension in the variable filename. You need to add it : change filename=handles.essais...

casi 4 años ago | 0

Answered

Save workspace and move file

Hi, you try to move a file named _filename_ movefile('filename','../Données sauvegardées'); you need something like :...

Save workspace and move file

Hi, you try to move a file named _filename_ movefile('filename','../Données sauvegardées'); you need something like :...

casi 4 años ago | 0

Answered

GUI : uicontrol values

Hi, one way is using findall : % set all the checkboxes of the current figure to 0 : set(findall(gcf,'Style','Checkbo...

GUI : uicontrol values

Hi, one way is using findall : % set all the checkboxes of the current figure to 0 : set(findall(gcf,'Style','Checkbo...

alrededor de 4 años ago | 0

| accepted

Answered

Change width of the bar figure at waitbar - MATLAB R2015a

Hi, Here is one way to do it : % Create the waitbar HWait = waitbar(0,'Waitbar 1','Name','Tests running'); % C...

Change width of the bar figure at waitbar - MATLAB R2015a

Hi, Here is one way to do it : % Create the waitbar HWait = waitbar(0,'Waitbar 1','Name','Tests running'); % C...

alrededor de 4 años ago | 1

| accepted

Answered

How to average the data in a large text file ?

Hi, Here's one way to do it : col = (1:10)'; mymeans = 0.5*(col(1:2:end-1) + col(2:2:end))

How to average the data in a large text file ?

Hi, Here's one way to do it : col = (1:10)'; mymeans = 0.5*(col(1:2:end-1) + col(2:2:end))

alrededor de 4 años ago | 0

| accepted

Answered

Is it possible to select an m-file for a "MATLAB function" block in Simulink?

Hi, You can use the Interpreted Matlab Function Block (not the same as Matlab function). For example <</matlabcentral/a...

Is it possible to select an m-file for a "MATLAB function" block in Simulink?

Hi, You can use the Interpreted Matlab Function Block (not the same as Matlab function). For example <</matlabcentral/a...

alrededor de 4 años ago | 0

Answered

GUI inside another GUI

Hi, When you call your second gui (GUI_Retrait), do you first close the main gui ? If so, the error message is normal. ...

GUI inside another GUI

Hi, When you call your second gui (GUI_Retrait), do you first close the main gui ? If so, the error message is normal. ...

alrededor de 4 años ago | 0

| accepted

Answered

It's possible the use of a MCR version different from the utilized version of Matlab Compiler?

Hi, An .exe made with a Matlab release will only work the associated version of the MCR. If you want to use a newer versio...

It's possible the use of a MCR version different from the utilized version of Matlab Compiler?

Hi, An .exe made with a Matlab release will only work the associated version of the MCR. If you want to use a newer versio...

alrededor de 4 años ago | 0

Answered

how to model matlab gui into an application ,that is installable in any computer?

To deploy a Matlab application on a computer that doesn't have Matlab installed, you need the Matlab Compiler toolbox. Use th...

how to model matlab gui into an application ,that is installable in any computer?

To deploy a Matlab application on a computer that doesn't have Matlab installed, you need the Matlab Compiler toolbox. Use th...

alrededor de 4 años ago | 0

Answered

Read specific columns of a text file

Assume you have this txt file that contains a matrix with 8 columns. <</matlabcentral/answers/uploaded_files/48716/im1.jpg>> ...

Read specific columns of a text file

Assume you have this txt file that contains a matrix with 8 columns. <</matlabcentral/answers/uploaded_files/48716/im1.jpg>> ...

alrededor de 4 años ago | 0

Answered

Matlab R2014a version gives, -3.1175^0.5 = -1.7656 but (-3.1175)^0.5 = 0.0000 + 1.7656i Why?

Because of the parenthesis. The power operation is executed before the minus operation, so -3.1175^0.5 is strictly eq...

Matlab R2014a version gives, -3.1175^0.5 = -1.7656 but (-3.1175)^0.5 = 0.0000 + 1.7656i Why?

Because of the parenthesis. The power operation is executed before the minus operation, so -3.1175^0.5 is strictly eq...

alrededor de 4 años ago | 0

Answered

How can I find implement fzero in Simulink?

Hi, You can use an Interpreted MATLAB Function block in your model. Here, I'm solving sin(x) = 0 with an initial search va...

How can I find implement fzero in Simulink?

Hi, You can use an Interpreted MATLAB Function block in your model. Here, I'm solving sin(x) = 0 with an initial search va...

alrededor de 4 años ago | 0

| accepted