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

已回答
How to obtain the line plots of 3 variables
try with _drawnow_ function ( see help drawnow )

11 years 前 | 0

已回答
How do I change the image displayed in the axes of a gui?
Your problem has been explained before, I hope the link helps you out: http://www.mathworks.de/matlabcentral/newsreader/view_...

11 years 前 | 0

已回答
how to read and process a folder of image?
Different choices: write the folder path as prefix in the image.jpg name ( C:\whatever\my_pictures ), so that your code is: ...

11 years 前 | 0

已回答
how to read and process a folder of image?
I don't know if I got it right or wrong, you should try to describe your problem clearer. The following image(imread('your...

11 years 前 | 0

已回答
How to delete particular row from struct array?
Hi, I think you are looking for this: s=rmfield(s,field) example of use: s.a=1; s.b=2; s.c=3; >> s ...

11 years 前 | 1

| 已接受

已回答
converting .jpeg or matlab fig image to stl or cad format
Hi, follow the link: http://www.mathworks.com/matlabcentral/fileexchange/3642-cad2matdemo-m I think that's what you need.

11 years 前 | 0

已回答
Data and variable management
You should start thinking on either global or struct variables....or a global struct. For example: define a global variable by ...

11 years 前 | 0

加载更多