已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 1

已回答
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...

11 years 前 | 0

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

11 years 前 | 0

已回答
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_...

11 years 前 | 0

已回答
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 ...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

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

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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') ...

11 years 前 | 1

已回答
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...

11 years 前 | 1

已回答
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...

11 years 前 | 1

| 已接受

已回答
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...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

已回答
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')

11 years 前 | 11

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

11 years 前 | 0

已回答
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(...

11 years 前 | 0

| 已接受

已回答
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.

11 years 前 | 0

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

11 years 前 | 0

已回答
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',...

11 years 前 | 0

| 已接受

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

11 years 前 | 1

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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)

11 years 前 | 0

已回答
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...

11 years 前 | 0

已回答
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...

11 years 前 | 0

| 已接受

已回答
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...

11 years 前 | 0

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

11 years 前 | 0

加载更多