Risposto
Getting integer or string data in real time
doc input

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

Risposto
About random number generators
doc se_randomizeseeds

quasi 13 anni fa | 0

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 1

| accettato

Risposto
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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 1

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

Risposto
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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 1

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

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

quasi 13 anni fa | 0

| accettato

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

quasi 13 anni fa | 0

Carica altro