Risposto
how to model a high pass filter in simulink?
Supposedly you have the transfer function, use the <http://www.mathworks.in/help/simulink/slref/transferfcn.html transfer fcn> b...

oltre 10 anni fa | 0

Risposto
Multiselect from listbox and apply to subplot
Change the _max_ and _min_ property of listbox. Refer this link : <http://www.mathworks.in/help/matlab/ref/uicontrol_props....

oltre 10 anni fa | 1

| accettato

Risposto
how to define mathematical function ?
<http://www.mathworks.in/help/matlab/matlab_prog/anonymous-functions.html Anonymous Functions> Check this out.

oltre 10 anni fa | 1

| accettato

Risposto
How to implementation DFT (discrete fourier transform) to intensity?
Use the logarithmic scale to image the fourier transform. Fourier transform results in large dynamic range, thereby logarithmic ...

oltre 10 anni fa | 1

Risposto
How to display the contents of a file in matlab GUI 2007b?
Here's a prototype: imageInfo = imfinfo('pout.tif'); str = evalc('display(imageInfo)'); % Create a figure with stat...

oltre 10 anni fa | 1

Risposto
Choose data in excel
doc xlsread The documentation says it all.

oltre 10 anni fa | 0

| accettato

Risposto
get the name of mat file loaded by command "uiopen" ?
Use *uigetfile* instead. fileName = uigetfile('*.mat'); load(fileName)

oltre 10 anni fa | 0

Risposto
load .mat files in order
Check out this <http://www.mathworks.com/matlabcentral/fileexchange/10959-sort-nat--natural-order-sort sort_nat> function from t...

oltre 10 anni fa | 1

| accettato

Risposto
Saveas plot using name of imported data file.
[path , name , ext] = fileparts(filev); saveas(gcf , fullfile(path , [name , '.jpg'])) % You ca...

oltre 10 anni fa | 0

| accettato

Risposto
how to generate pulses with 180 deg phase shift
A phase shift is equivalent to multiplication by a complex exponential in frequency domain. Take an fft of the whole signal and ...

oltre 10 anni fa | 1

| accettato

Risposto
Bandpass Filter Design MATLAB Code
<http://www.mathworks.in/help/dsp/gs/design-a-filter-using-fdesign.html Design a Filter Using fdesign>

oltre 10 anni fa | 0

| accettato

Risposto
how to apply z transform for an image
doc czt You can apply czt on each row followed by applying it on each column.

oltre 10 anni fa | 1

Risposto
EXTRACT NUMBER FROM A COMBINED STRING AND NUMBERS
String = 'mario5.png'; output = String(regexp(String , '[0-9]'));

oltre 10 anni fa | 0

Risposto
How to display Multiple Statements in a GUI Edit Box
String = {'This is first statement'}; set(handles.edit1 , 'String' , String); String = {String{:},'This is the 2nd statement...

oltre 10 anni fa | 1

Risposto
dear all, i am trying to execute this code, but getting the error of "Error using vertcat Dimensions of matrices being concatenated are not consistent"... code is given below, please help me out.
dbstop if error type the above said command at the command prompt before running the script, it'll you to the part of code ...

oltre 10 anni fa | 1

| accettato

Risposto
Rotating of body with GUI
doc view If you are not comfortable with GUI building, check this out: <http://blogs.mathworks.com/videos/2005/10/03/guide...

oltre 10 anni fa | 0

Risposto
change histogram graph to smooth curve
_histfit_ fits normally distributed data. For details refer documentation. doc histfit

oltre 10 anni fa | 0

| accettato

Risposto
How to pass parameters between local functions of uicontrol, pushbutton?
<http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F How can I share data betwe...

oltre 10 anni fa | 0

| accettato

Risposto
GUI to set folder path then to select an image
path = 'c:\users\userName\my documents\matlab'; filter = '*.bmp'; selectedFile = uigetfile(fullfile(path , filter)); imshow...

oltre 10 anni fa | 2

Risposto
More plot area ezplot
By default ezplot plots over the range -pi to pi. You can explicitly specify the range: ezplot(fun,[min,max])

oltre 10 anni fa | 0

Risposto
??? Error using ==> plot Invalid first data argument
*filedir(cnt).date* is a *character string*. Use _datenum_ datenum(filedir(cnt).date)

oltre 10 anni fa | 0

Risposto
how do i save the data from ginput?
data = ginput(2); x = data(:,1); y = data(:,2); Or simply: [x , y] = ginput(2);

oltre 10 anni fa | 0

Risposto
how to label a point on a graph?
doc text

oltre 10 anni fa | 0

Risposto
How do i display multiple output image from m-file in single axes with option to navigate in guide?
Insert this in the gui *OpeningFcn* and see what it echos at the command prompt: Flag = isfield(handles , 'axes2') Flag...

oltre 10 anni fa | 0

Risposto
I need a help about loading data into MATLAB in case of using GUI!
doc uigetfile doc xlsread doc importdata

oltre 10 anni fa | 0

Risposto
How can I plot only the real elements in a plot?
idx = (testArray==real(testArray)); testArray is the array under consideration. realComponents = testArray(idx) ;

oltre 10 anni fa | 2

| accettato

Risposto
How to avoid the information loss of image conversion from uint8 to logical and then back to uint8?
graythresh(image) % check out the difference in threshold Use the same threshold and you are going to get the same image.

oltre 10 anni fa | 0

Risposto
Plotting elements in a cell array
data = cellfun(@str2double, str, 'Un', 1); plot(data)

oltre 10 anni fa | 0

Risposto
How to use .img format files ?
fid = fopen('fileName.img'); data = fread(fid, dataDimensions, precision) close(fid) for more info: doc fread do...

oltre 10 anni fa | 0

Risposto
How to store specific data from structure (substructure)?
That is already stored but if you want it to store in another non struct variable, you need not use a loop. follow this: Si...

oltre 10 anni fa | 0

| accettato

Carica altro