Top 1% contributor
This is a very generic question. I have been using MATLAB GUIde for GUI development since its 2007b version. Thoug...
Asked 2 years ago
%get the values in the Excel using xlsread.
[num,txt,raw] = xlsread(filename,sheet,xlRange);
%combine data as you want:
Answered 2 years ago
I have set Compiler configuration using mex - setup. But one of my automation script invokes MATLAB instance as if run by t...
1. I found some apps in mlappinstall format at MATLAB File Exchange. I understand that this was introduced recently (2012b or 20...
Asked 3 years ago
first of all thank you everyone for the valuable time and effort you spend here for guiding people like us.
I used to run certain matlab scripts for formatting excel sheets. I use activex for accesing Excel(Office 2003) in those sc...
I want to insert a Block into a Simullink Model from Right Click Menu. The block should be inserted into the exact 'positio...
Your solver should be fixed size, and the fixed step size can be set at simulation->Configuration Parameters-> Fixed-step size (...
Every Image file has lots of redundant data. Transformation algorithms reduce the redundancies in the image data there by reduci...
if you want to append to existing string, get the string first and then append required data and display it.
Answered 3 years ago
get the datestring above, make the filename as per your need with the datestring.
If you have Communication Toolbox, all standard modulation and de-modulation functions are defined in that. If you do not have i...
C and D have same number of rows. Similarly A and B have same number of rows. So
C to D is straightforward since number of row...
open the working GUI. Make sure in the Tools-> GUI Options the Generate Fig File and m File Option is selected and save the GUI ...
What you ask is what you get here(WYAIWYG).. Please rephrase question and add more details. Is it about the code or logic or har...
It is mere recursion supported by most high level languages.
MATLAB Central is a "Blatant Calmer" , "A Clam Art Blent",-- what more anagrams can you think of?
Answered 1 month ago
You have to define x(3) as well (It should be 2 right ?), and then run the loop from x=3 and change the order of statements insi...
Immediate fix is to choose a variable step solver(in the solver type) if you really don't need a fixed step solver. If you inten...
fid = fopen(fName,'a'); %a for append, you can use 'w' instead to write freshly
fprintf(fid ,'%s\n','a =...
will add all subfolders under FolderName to MATLAB's Path.
manually as shown in the...
1. Get the Files in the directory... ([~,ListofImages]=dos('dir /b /s te_*.jpg');)
2. Get the Number from it..(1, 2, etc)...
<http://www.mathworks.in/help/matlab/ref/uiputfile.html uiputfile> will be best for your needs!
If you want to run an external software, <http://www.mathworks.in/help/matlab/ref/actxcontrol.html ActiveX> is the best way. MAT...
You can use a set_param command to do this.
set_param(BlockName,'PhaseDelay','15');%Phase Delay of 15 seconds
What yours does is sum of squares of natural numbers from 1 to 1000 +0.5. That is 0.5+1^2+2^2+3^2+...+1000^2;
Is this what ...
InMtx=[2 3 4 5 6 3 3 4 2];
bBirdIsHungry=input('Is the Bird Hungry? [1/0]');
bItRains=input('Does it Rain? [1/0]');%You can get yes or no if you want....
From what I see,
you should have done
mal = regionprops(CC,RegPropType)
mal = regionprops(CC,'RegProp...
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries