Answered
Getting integer or string data in real time
doc input

12 years ago | 0

| accepted

Answered
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 ago | 0

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

12 years ago | 0

Answered
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 ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

Answered
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 ago | 1

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

12 years ago | 0

Answered
About random number generators
doc se_randomizeseeds

12 years ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 1

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 1

| accepted

Answered
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 ago | 0

Answered
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 ago | 0

Answered
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 ago | 0

| accepted

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

12 years ago | 1

Answered
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 ago | 0

| accepted

Answered
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 ago | 0

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

12 years ago | 0

| accepted

Answered
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 ago | 0

Load more