Respondida
how to browse an image?
To get a image from any location, try this: MY_IMAGE = uigetfile({'*.jpg','*.JPG','*.bmp','*.tif'}) % add any extension y...

casi 13 años hace | 0

Respondida
How can I change the properties of the y-axes in a scatter3 figure?
Go to the property editor of your plot, you will find all you need. If you want to use commands, add the property and its value...

casi 13 años hace | 0

Respondida
CALLING MULTIPLE GUI'S
First. GUIs have a property called 'Visibility'. You can check it out on the property inspector. When set to "off", the GUI is n...

casi 13 años hace | 1

Respondida
selecting multiple files from folder directly
Firstly, if you use uigetdir, there is no need for files_wanted = dir('a1*1*.txt'). Use one or the other method to open the file...

casi 13 años hace | 0

Respondida
selecting multiple files from folder directly
adapt the line to your need: files_wanted = dir('a1*1*.txt');

casi 13 años hace | 0

Respondida
selecting multiple files from folder directly
Hello, this might be of help: % this creates a structure with information on every % file whose name starts with "a1_...

casi 13 años hace | 0

Respondida
could you fix these codes?
You can try as well something like this I=imread(your_32x32_image_name); division = 8; % set according to yuor needs ...

casi 13 años hace | 0

Respondida
how to retrive color of resulting image as original?
Once you transform an image to grayscale, it looses many information: a colour image is a 3D matrix, while a grayscale one is 2D...

casi 13 años hace | 0

| aceptada

Respondida
Taking weighted means over matrices with missing data
I think it is not possible, but you can write your own function to do it.

casi 13 años hace | 0

Respondida
Where do i add a loadlibrary command in a class definition?
You do not have to load your libraries, your functions have to be saved as .m files in the working directory. Matlab looks for t...

casi 13 años hace | 0

Respondida
Is MATLAB is automatically concatenating data from a text file?
Is this what you want? s='Band ID: 0 AD ID: 43 Scan ID: 0 LRT/HRT: 0 Valid Flag: 0'; data= regexp(s,'\t','split') ...

casi 13 años hace | 1

Respondida
CAT error with cell2mat
As Matlab says, you are facing a dimensional non-agreement problem. For example, if you cell is similar to this: C = {'qqq...

casi 13 años hace | 1

Respondida
GUI from Simulink File
Your GUI consists of two files: mygui.fig and mygui.m If you call the function mygui.m from simulink, your GUI will pop up. Loo...

casi 13 años hace | 1

| aceptada

Respondida
how to get every byte value of a double datatype?
These two MATLAB functions might be of help: str = dec2bin(d,n) produces a binary representation with at least n bits. str...

casi 13 años hace | 0

| aceptada

Respondida
Where do i add a loadlibrary command in a class definition?
It seems you are trying to do Object-Orientated Programming. If so, these two links might be of help. http://www.mathworks.es...

casi 13 años hace | 0

Respondida
Removing Duplicate Elements from Array sets
Use _unique_ command: M = [1 2 3; 4 5 6;1 2 3; 1 2 3; 6 7 8]; A = unique(M,'rows')

casi 13 años hace | 12

Respondida
No arrows in quiver plot
set s=2 (for example), you are scaling the arrows to a very small size.

casi 13 años hace | 0

Respondida
How can I make this nested for loop work?
your variable _bc_ has no index, it can not change along the loop. _temp1_ and _temp2_ always take the value of _bc(1)_ and _bc(...

casi 13 años hace | 0

| aceptada

Respondida
Store cells into Matrix
check out for that 3D array you call _variables_, Is it useful for anything? This same question was answered on Friday 10th.

casi 13 años hace | 0

Respondida
Reset button in Matlab GUI
to reset the plot use: clf type help clf for all the information you'll need

casi 13 años hace | 0

Respondida
Reset button in Matlab GUI
In the reset button callback function just add the code to modify the boxes you need to reset. set(handles.yourbox1,'string',...

casi 13 años hace | 0

| aceptada

Respondida
how to label y axis of a graph in horizontal manner
Here you are: ylabel({'jan';'feb';'march'},'Rotation',0)

casi 13 años hace | 1

Respondida
store vectors in matrix over for loop
Could you be more precise? Did you realize your _pairvec_ is a 3D array, _overnested(ix1,ix2)_ looks like a 2D array. Did you sk...

casi 13 años hace | 0

Respondida
Is there any S function available other than Level 2 M file S function to access data from GUI?
Take a look at the help of _set_param_ function. It is used to set parameters in simulink models and can be used in GUIs with n...

casi 13 años hace | 0

Respondida
problem in simulating an epidemic model using ode45
I tested your code and they are not straight lines, zoom in the plot to see it. Also, check the name of your function fu...

casi 13 años hace | 0

Respondida
Matlab GUI plot: Refersh input data and update plot
Try to use "drawnow" right after the plot() command. A small pause also helps: pause(0.001)

casi 13 años hace | 0

Respondida
Out of memory error in BWT encoder code
The BTW is designed for .txt files, not .pdf. I'm not an expert in .pdf encryption, but I think it's quite different from .txt's...

casi 13 años hace | 0

Respondida
how to call m-file in block simulink model???
I think you are doing something wrong. I've been using m-files in Simulink to avoid the extra work of block-building what I have...

casi 13 años hace | 0

| aceptada

Respondida
Matlab GUI non-tag item supported?
If you mean to set a fixed 'String' field on your GUI, the answer to your question is yes, but you will not be able to use eithe...

casi 13 años hace | 0

Respondida
how to calculate the radius of an image more irregular if I know the centroid?
Are you using the function _regionprops_ ?

casi 13 años hace | 0

Cargar más