Answered
create custom filter to image
Use mean2 and conv2 Is this OK with exp^ terms? -0.5 * x * brcov.^(-1) * x' >> whos x Name Size Byt...

7 years ago | 0

| accepted

Answered
I have about 300 short wav files, which have to be load into MATLAB. I am not able to find any information on how to load all the wav files into Matlab for further processing plz help.
% Ensure that all wav files in current directory and file names in proper sequence wavefiles=dir('*.wav'); for i=1:l...

7 years ago | 0

Answered
looping image analysis problem.
for i = 0:s while (i<10) image1=['img-00000000', int2str(i), '_Default_000.tif']; end while (i<100 && i>...

7 years ago | 1

Answered
How can i create two subplot
% Figure 1 figure(1); subplot(121), plot(test1); subplot(122), plot(test2); % Figure 2 figure(2); ...

7 years ago | 4

Answered
How to mix two images in loop with 10%step.
It can be code like this. But I would like to write it down like loop, so it looks better. I have chenged your code in for loo...

7 years ago | 0

Answered
My code isnt looping until answer is found
% I am certain that you can use while loop here, Lets say new evaluated error in each iterations names as error_update and err ...

7 years ago | 0

Answered
I want to store the matrices that are obtained from the loop each time.
q=input('Enter the q matrix:'); qd=input('Enter the maximum speed:'); m=size(q,1); for i=1:m-1 q_current(i,:)=q(i,:); ...

7 years ago | 0

Answered
Run a loop every hour regardless of its calculation time!
while true tic % some math here elapsedTime=toc pause(3600+elapsedTime); clearvars elapsedTime; end %...

7 years ago | 0

| accepted

Answered
please help me to correct my program
f1=str2double(inputdlg('Enter the value of frequency f1: ')); f2=str2double(inputdlg('Enter the value of frequency f2: ')); f3...

7 years ago | 0

| accepted

Answered
I want to draw trapezoidal fuzzy function in Matlab with codes below but error occurred using plot 3 and vector must be the same length
Please Note: You have defined X1, not x1 ..same for all...Matlab is case sensitive. Therefore X1 is different from x1 X1=linspa...

7 years ago | 0

Answered
, i need to denoise the signal
You can do that in multiple ways, use wdenoise,see the documentation. Or You can also do using custom function. There are numer...

7 years ago | 0

Answered
xlmtree undefined function read
Just save the XRDMLread custom function in the same directory, same file also in attached. And run the main script again. Pl...

7 years ago | 0

| accepted

Answered
how can i change normal image to grayscale from menu editor gui?
[Filename,Pathname]=uigetfile({'*.jpg';'*.png'}, 'File Selector'); name=strcat(Pathname,Filename); a=rgb2gray(imread(name)); ...

7 years ago | 0

| accepted

Answered
detection of brain tumors with image fusion
% Please see the documentation of bwareafilt imageRGB=imread('brain_im.jpeg'); brain_bw=im2bw(rgb2gray(imageRGB)); subplot(1...

7 years ago | 1

Answered
How can I compute the probability of a pixel intensity of the image in Matlab??
gray_image=rgb2gray(imread('test.jpg')); [rows colm]=size(gray_image); [pixelCounts, gray_value]=imhist(gray_image); prob=pix...

7 years ago | 0

Answered
Get errorbars to work with categorical bar plot
whos y Name Size Bytes Class Attributes y 3x3 72 double >> who...

7 years ago | 0

Answered
How to use PHOG features??
For PHOG (Pyramid of Histogram of Oriented Gradients (PHOG)), you can check this custom tool box file, it may works For litera...

7 years ago | 0

Answered
Central Difference For Loop
-If someone can help me why my for loop is messed-up- clc, clear, close all syms x % Actual Value f=sin(2*pi*x); df=diff(...

7 years ago | 0

| accepted

Answered
Matlab code required for plotting 3 variables
Check yyaxis Matlab version before 2016a use the following Use plotyy

7 years ago | 0

Answered
How to make a spectrogram
[signal,fs]=wavread('audio_file.wav'); find the psd of the psd_signal, see documentation plot(psd_signal);

7 years ago | 1

| accepted

Answered
How do I control errorbar line appearance independently of the markers?
-Now, change the whiskers into red '--' while keeping the 'x' data a blue 'o'- x = 1:10:100; err = 8*ones(size(x)); errorbar(...

7 years ago | 1

| accepted

Answered
hello iam getting these type of error for my code iam appl dddt dwt algorithm to get decomposition image please help me to goet output....
I have tried with different image, hope you facing the same issue. If not, let me know the size of y? In the code so many nesti...

7 years ago | 0

| accepted

Answered
Index exceeds the number of array elements (101).
I dont think there is any coding error. Please try in following way function [T,aliveFlag] = heat_eqn(timeend,nt) % Descriptio...

7 years ago | 0

Answered
How to calculate enhancement factor for an image
Image Enhancement Factor (IEF)=MSE(Original Image, Noise Image) / MSE (Original Image, Restored Image) I hope you can easily im...

7 years ago | 1

| accepted

Answered
error in matlab code
Replace the complete for loop by following line x=y+awgn(y,10); % Here 10 represents SNR, change accordingly No need of for l...

7 years ago | 0

Answered
How can I connect points from different plots
Use the following line at last in the code- line([x1,x2,x3],[y1,y2,y3],'Color', 'b');

7 years ago | 0

Answered
error: x(2): out of bound 1
Issue 1: When you defined the function as [disp_dot]=stage2(x,t) There is not role of t function input data t in the functi...

7 years ago | 0

| accepted

Answered
Creating a line with different steps
it runs but it doesn't plot a graph, any ideas what went wrong? You can check the x and y value- x = 100.000000000000e+0...

7 years ago | 0

Answered
Index exceeds matrix dimensions.
Initially a defined as vectors a=[4;0.5;70]; %where a(1)=4, a(2)=0.5 and a(3)=70 After that a is replaced in line 28, as scal...

7 years ago | 0

| accepted

Answered
bar3 distance between bars
Have you look on changed the width of the bar, this also space inbetween bar is changed? width=??? bar3(bar_data,width); For ...

7 years ago | 1

Load more