Respondida
Getting integer or string data in real time
doc input

casi 12 años hace | 0

| aceptada

Respondida
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); ...

casi 12 años hace | 0

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

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 1

Respondida
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.

casi 12 años hace | 0

Respondida
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 ...

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

Respondida
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.

casi 12 años hace | 1

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

casi 12 años hace | 0

Respondida
About random number generators
doc se_randomizeseeds

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 1

| aceptada

Respondida
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));

casi 12 años hace | 1

| aceptada

Respondida
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

casi 12 años hace | 0

| aceptada

Respondida
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');

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 1

Respondida
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 ...

casi 12 años hace | 0

Respondida
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.

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 1

| aceptada

Respondida
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...

casi 12 años hace | 0

Respondida
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...

casi 12 años hace | 0

Respondida
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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 1

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

casi 12 años hace | 0

| aceptada

Respondida
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...

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

Respondida
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...

casi 12 años hace | 0

Cargar más