Answered
can any one guide me i want to draw graph at negative side after 180 degree.and also plot a sine wave in this graph....
Steps: #Splits y_data as two parts (y1 for time<t1 and y2 for time=>180), then y2=-abs(y_data(Time>=180)); plot(T...

6 years ago | 0

| accepted

Answered
how do i write code for following equation
l=4; d=(10:10:100)*10^-6; D=100*10^-12; m=10^4; t1=(d.^2)./(6*D); Tp=? %% Define Tp t=t1+(i-1)*Tp; e1=(4*pi*D*t).^(3/2); ...

6 years ago | 0

Answered
Undefined function 'loadcnt' for input arguments of type 'char'.
This may user defined function (custom), please download from here and use it

6 years ago | 0

Answered
Why isn't my matrix correct?
You are trying to solve x, Ax=b, where A and b is given (There is no role of M and D as per your code) A = [1 0; 2 2; 4 3; 5 4...

6 years ago | 0

| accepted

Answered
what is mean by window size in GLCM ?how to adjuste it in graycomatrix function?
Yes, suppose you extract the statistical feature suppose (mean) of an image having size 256*256, If yousliding the window pixel ...

6 years ago | 0

| accepted

Answered
applyting function to all elements in a matrix
First one: 1./(1+exp(-z)), have you noticed {dot} before division sign, it represents the dot array operation (element wise), le...

6 years ago | 1

| accepted

Answered
How could i write matlab code for Sequencing of machining operation using for loop?
I have reached this label, do apply more logic and get the exact result, it can be possible, but here code is little non efficie...

6 years ago | 1

Answered
How to find the roots of the Equation
See solve function here (Must Recomended) syms x; fun=tan(x/2)+tanh(x/2)==0 S=solve(fun,x)

6 years ago | 1

Answered
Not sure why I'm getting this error - Index exceeds number of array elements (0).
alpha(k) = first_data(1); beta(k) = first_data(3);

6 years ago | 0

Answered
How to get the hue/saturation of a colourful images?
rgb2hsv and get the data

6 years ago | 1

Answered
Why there is no menu bar in simevents window?
Is this, you are looking for?

6 years ago | 0

Answered
sine generation with hanning window
#Do change the frequency ar per the requirements fs=1e9; %sampling freq dt1=1/fs; f=5e9; %sine freq T1=1/f; %sine period ...

6 years ago | 0

| accepted

Answered
how to put output from for-loop for many subjects into one graph when they are all overwriting each other as variables?
how to put output from for-loop for many subjects into one graph when they are all overwriting each other as variables? if outp...

6 years ago | 0

Answered
how to insert symbols to an for loop
syms a %..^

6 years ago | 0

Answered
How could I extract a defect from a semiconductor image?
May be edge detection, then morpho operation easier in this case result=~edge(binary_image,'sobel'); Please see bwareaopen a...

6 years ago | 0

Answered
subplot code bar chart
subplot(3, 3, 1) subplot(3, 3, 2) subplot(3, 3, 3) subplot(3, 3, 4) subplot(3, 3, 5) ...go on...till 9 last digit

6 years ago | 0

| accepted

Answered
I want to reduce the length of my program.It is very repetitive.Since I am not from a programming background can anyone suggest or help me improve my code for plotting multiple beam profiles?
a0 =csvread('WAVE0015.CSV',11,0);%PS current 4mA % a1 =csvread('WAVE0014.CSV',11,0);%PS current 7mA % a2 =csvread('WAVE0013.CS...

6 years ago | 0

| accepted

Answered
meaning of these lines for image processing
% Meadian of absolute values of x divided by 6745 y=median(abs(x(:)))/6745 % Soft Thresholding, c is the image or Matrix, s m...

6 years ago | 0

Answered
Problem when using for-each loops for Image Segmentation
video(i,j,:,t) = imoverlay(im2uint8(Img),mask,[0 0 0]); The error are self explaining, im2uint8(Img) and mask must have same si...

6 years ago | 0

| accepted

Answered
when solving Gilmore equation using ode45 , the answer comes as zero and it plots a straight line in the time interval
"it plots a straight line in the time interval" Because yexact(:,1) values return as same value for all 1st column elemnets >>...

6 years ago | 1

Answered
How to make the black portion white in this bordered area?
#Here bwImage is a input binary image (Attached with the Question) result=~bwareafilt(~bwImage,1); imshow(result);

6 years ago | 0

| accepted

Answered
how to calculate the volume of a CT-Scan image but only at the damaged point
Steps: Do the segmention for damaged point. (Try with proper thresholding or other Morpho operation) Cal culate the area reg...

6 years ago | 0

Answered
why matlab gave me 5 eigenvectors for 6*6 matrix?
An nxn matrix M can have up to n unique eigenvalues and eigenvectors. If its characteristic equation det(M-lamda*I)=0 has repe...

6 years ago | 0

| accepted

Answered
Why do I get Excel error when using writetable command ?
Try? xlswrite('output_file.xlsx',TT);

6 years ago | 0

| accepted

Answered
statistical features of image
Yes, like PDF, pixel values ranges,mode, max, mean, min, STD and VARIANCE many more consider the staistical properties of indiv...

6 years ago | 2

Answered
How to stop a loop when the variable approaches infinity?
"The loop should stop when U approaches infinity", Matlab implementation is all about Maths, you should define it specifically...

6 years ago | 0

Answered
Need Help with matrix indexing
r=50000; l=1; mat_data=randi(100,[r,10]); % Here Data Matrix result_rms=zeros(1,10); for i=1:10 result_rms(i)=rms(mat_d...

6 years ago | 0

| accepted

Answered
how to plot a 2d plot colored map?
Yes, for vgs=1:1:2 for vds=1:1:2 %.... end end As you assigned input gate voltage (vgs) and output drain voltage (vds) in...

6 years ago | 0

Answered
New variables in a loop
Considering the array or cell array is best way rather than assigning new variable in each iteration. Fs=zeros(1,35); for i=1:...

6 years ago | 0

Load more