已回答
Getting integer or string data in real time
doc input

12 years 前 | 0

| 已接受

已回答
How to Use Edit Text in GUI in creating a filename?
function edit1_callback(hObject, eventdata, handles) fileName = get(hObject, 'string'); setappdata(0, 'name', fileName); ...

12 years 前 | 0

已回答
How to truncate all the decimal places??
doc cast cast your variable to int16/32/64 depending upon your requirement.

12 years 前 | 0

已回答
what is difference between fft(x) & fft(x,n)
*fft(x)* computes discrete fourier transform having as many samples as the original signal x whereas *fft(x,n)* will have n poin...

12 years 前 | 1

已回答
I getting an error (interp2 size). Can you help me ??
A should have as many elements as length(x)*length(y) . A specifies values at those grid points.

12 years 前 | 0

已回答
How do i get multiple inputs from keyboard and store them in an array
array = input('Enter elements of array'); %% Enclose the input in square braces when matlab asks ...

12 years 前 | 0

已回答
Could any body help me to hold y axis constant number as the x axis changing ?
xlim('auto'); ylim([1 7]);

12 years 前 | 0

已回答
I want to display output of blob analysis while blob analysis is running. can this possible ?
use *avifile* or *VideoWriter*

12 years 前 | 0

| 已接受

已回答
How to draw vertical line and a horizontal line passing from the centroid of a region?
doc line I guess you have information about centroid and boundary points.

12 years 前 | 1

已回答
How would I generate symbolically the time function
F = @(t)t^2+cos(t);

12 years 前 | 0

已回答
About random number generators
doc se_randomizeseeds

12 years 前 | 0

已回答
how to plot intensity graph for an image
Convert it to grayscale and take mean along the rows using *mean(I,2)* I = rgb2gray('fullfilename') plot(1:size(I,1) , mea...

12 years 前 | 1

| 已接受

已回答
Unable to use the sqrt(A) function in a function file
F is your function handle ,how could you pass it as parameter to sqrt?? Probably,you want to do this: sqrt(F(5));

12 years 前 | 1

| 已接受

已回答
Error trying to evaluate the following partial fraction as practice on matlab [5(s+2)] / [s(s^2+8s+15)]
eliminate symbols num = [1,2]; den = [1,8,15]; [r,p,k] = residue(num,den); % go through documentation of residue

12 years 前 | 0

| 已接受

已回答
Plot 2 bar plots in the same graph. Problem with the legend.
h1 = bar(xout1,n1); h2 = bar(xout2,n2); legend([h1 , h2] , '1', '2');

12 years 前 | 0

已回答
find difference between two images block wise
SubtractedCell = cellfun(@minus,Bs,Br,'Un',0)

12 years 前 | 0

已回答
How can I manage with this numbers?
what's rc1?? anways try this: row_A = n/col_A; reshape(A, row_A, [] );

12 years 前 | 0

| 已接受

已回答
How to divide 64X64 matrix into sixteen 8X8 blocks?
<http://matlab.wikia.com/wiki/Split_image_into_blocks>

12 years 前 | 1

已回答
how to plot ecg from .mat file
you have to load variables from the mat file to your worksapce, then you can plot them or process them: load matfileName ...

12 years 前 | 0

已回答
i have a data vector and have to calculate doppler specturm... any idea how can i do this
doc doppler you need to have communication system toolbox installed.

12 years 前 | 0

已回答
How to write a function that returns a graph?
your 2nd syntex shouldn't give any error, you need to not specify output argument while calling the function from command prompt...

12 years 前 | 1

| 已接受

已回答
How to make gui for detection of number of objects present in binary image?
If you have any issues with GUI, go through the video attached below. The best you can find for learning all the important aspec...

12 years 前 | 0

已回答
save data from function to ws
As the documentation suggests, 2nd parameter has to be only the variable name, it cannot have any indices. Better assign that va...

12 years 前 | 0

已回答
Interpolating data with specifc / non-consistent "X" values:
you can realize the polynomial using polyfit function: P = polyfit(X, Y, n) % n is the order of the polynomial you want

12 years 前 | 0

| 已接受

已回答
Error: Index exceeds matrix dimensions.
dbstop if error try debugging your code using dbstop, it will tell when actually this error occurs.

12 years 前 | 1

已回答
Removal Of objects from binary image.
once you have got the binary image,you can do the following: outputImage = xor(BW , bwareaopen(BW , threshArea)); ...

12 years 前 | 0

| 已接受

已回答
How to run two ".m" files in a single GUI using pop-up menu and push button in GUI?
function popupmenu1_Callback(hObject, eventdata, handles) val = get(hObject,'Value'); setappdata(0,'popupIndex',val); f...

12 years 前 | 0

已回答
How to fill the regions within the traced boundry using "bwboundaries"
b=imfill(b,'holes');

12 years 前 | 0

| 已接受

已回答
Input argument "s" is undefined ,what does this mean?
did you run it as script?? you need to call the function and pass on the input varaible. Go through this documentation: <htt...

12 years 前 | 0

加载更多