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

10 years ago | 0

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

10 years ago | 1

| accepted

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

10 years ago | 1

| accepted

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

10 years ago | 1

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

10 years ago | 1

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

10 years ago | 0

| accepted

get the name of mat file loaded by command "uiopen" ?

10 years ago | 0

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

10 years ago | 1

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 1

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 1

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

10 years ago | 0

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

10 years ago | 1

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

10 years ago | 1

| accepted

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

10 years ago | 0

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

10 years ago | 0

| accepted

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

10 years ago | 0

| accepted

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

10 years ago | 2

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

10 years ago | 0

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

10 years ago | 0

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

10 years ago | 0

how to label a point on a graph?
doc text

10 years ago | 0

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

10 years ago | 0

doc uigetfile doc xlsread doc importdata

10 years ago | 0

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

10 years ago | 2

| accepted

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.

10 years ago | 0

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

10 years ago | 0