Community Profile

photo

vetri veeran


cbnu

Last seen: meer dan een jaar ago Active since 2014

Professional Interests: signal processing

Statistics

  • First Review
  • Thankful Level 4

View badges

Content Feed

View by

Question


Subscript indices must either be real positive integers or logicals.
The following is the code: w=-20:0.1:20; T= 0:0.1:1; j=sqrt(-1); F(i)=(1-exp(-j*w(i)*T(i)))./(j*w(i)); A=abs(F); % Amplitue...

meer dan een jaar ago | 1 answer | 0

1

answer

Question


I want to divide x and y axis into 12 equal parts using grid lines with coordinates values seen visible in the respective places of x and y-axis
Hi all, I want to divide x and y-axis into 12 equal parts with coordinate value seen visible in the 12 parts in x and y-axi...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


I want to plot with different colors for each value of vm1
Hi all, I want to plot the each value of vm1 with different colors manually. I attached only the short code which is given...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


How to remove the straight line coming at the x-axis at x = -0.11532 in my code
Hi all, In my code, I want to remove the straight line coming at the x-axis at x = -0.11532. I attached my code below, ...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Error as Function definitions are not permitted in this context.
Hi all, I am getting error as Function definitions are not permitted in this context. My code: function dydt = odefcn...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Answered
Error using surf X,Y, Z and C cannot be complex
Thank you very much Jan Simon and Star Strider for your answer

meer dan 5 jaar ago | 0

Question


Error using surf X,Y, Z and C cannot be complex
Hi all, I want to draw 3D plot using surf command for vt = 0, -0.1...-0.5 I am getting an error as, Error using surf X...

meer dan 5 jaar ago | 3 answers | 0

3

answers

Question


replicate padding 2 matrices
I want to do replicate padding with 2 matrices, A with 3*3 and other B with 1*3 3*3 matrix A is 4 2 2;2 0 2;1 2 1 1*3 m...

meer dan 6 jaar ago | 0 answers | 0

0

answers

Question


How to compute cumulative distribution function (CDF) of the standard normal distribution without using the matlab command
Hi all, Is it possible, To compute cumulative distribution function (CDF) of the standard normal distribution without usin...

bijna 7 jaar ago | 0 answers | 0

0

answers

Question


How to plot for different parameter values of a, p1 and p2
Hi all, I want to plot using different parameter values of a, p1 and p2 in the same plot in the following code. Like a = 1,2...

bijna 7 jaar ago | 1 answer | 0

1

answer

Question


What is the reason for getting multiple lines at v=-1.5 and v=1.5 for t=0:0.1:10*pi in my code
Hi all, *At t=0:0.1:10*pi,* I am getting multiple lines at v=1.5 and v=-1.5 when I tried to plot for voltage versus cu...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Error using plot Vectors must be the same lengths.
I am getting error as, Error using plot Vectors must be the same lengths. Error in plot(v,I,'r'); My code: ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


Undefined function or variable t1
clc; clear all; close all; w=1; t=0:0.001:2*pi; M1=2e6; M2=2e9; M=M2; for i=1:length(t) ...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Question


I am getting some problem in assigning a value to another value
clc; clear all; close all; w=1; i=1; M1=2e6; M2=2e9; for t=0:0.0001:2*pi v(i)=2*sin(w*t);...

meer dan 7 jaar ago | 0 answers | 0

0

answers

Question


Subscripted assignment dimension mismatch.
program code: original_im=imread('Picture1.tif'); pad_org=padarray(original_im,[1 1],'both'); figure(3);imshow(pad_o...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


how can i calculate how many number of times that 1 occurs.
I have an array like this x = 1 2 3 4 1 2 3 4 1 2 3 4 1 2 ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Original image size 769*770, I am geting error as dimension mismatch
Original image size 769*770 org_im=imread('picture1.jpg'); [rows,columns,numberofcolorbands]=size(org_im) if numberofc...

bijna 8 jaar ago | 2 answers | 0

2

answers

Question


Subscripted assignment dimension mismatch.
% Mean Filter clc clear all close all original_im=imread('Picture1.tif'); figure,imshow(original_im); %%%%% ...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Attempted to access pad_org(1,343); index out of bounds because size(pad_org)=[544,342].
original_im=imread('Picture1.tif'); figure,imshow(original_im); pad_org=padarray(original_im,[1 1],'both'); ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Error in using eval and ode
This is my code, _*% main function *_ %F=farads %V=mV %A=amps %F=Farads C=1.0e-6; %micro F/cm^2 gb...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Getting error as Drift and volatility rates must be specified.
This is my code given below, Cm=0.01; % Membrane Capcitance uF/cm^2 dt=0.04; % Time Step ms t=0:dt:25; %Time Array ms I=0....

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


To perform ode for the equation
I want to perform ode for the equation given by, dy/dt = y+ xy , with initial condition x(0)=0 and y(0)=1 and I want to f...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Error using .* Matrix dimensions must agree.
func1: function [ ] = fftshow(f) f1=log(1+abs(f)); fm=max(f1(:)); figure, imshow(im2uint8(f1/fm)); end func2: ...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


After finding the threshold, how can i redraw the histogram and the image using the new thresold value
This is the code to find the thresold clc; clear all; close all; i= imread('cameraman.jpg'); [m,n]=size(i); figure, im...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Error: Attempted to access din(289,1); index out of bounds because size(din)=[288,543].
My code is, din=imread('pic1.jpg'); figure(1); imshow(din); din=im2double(din); [m,n]=size(din); for i=1:m for...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Undefined function or variable 'segPic'.
My code is din=imread('Pic1.jpg'); [rows, columns, numberOfColorBands] = size(din) if numberOfColorBands > 1 din ...

bijna 8 jaar ago | 0 answers | 0

0

answers

Question


Error using size Not enough input arguments.
My code is, **Function 1: name.m** din1=imread('name.jpg'); imshow(din1); [m,n]=size(din1); dout=sizefilter(din1,...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Double inputs must have integer values in the range of ASSUMEDTYPE.
My code is, din=imread('test.jpg'); figure(1); imshow(din); din=im2double(din); [m,n]=size(din); y_pts =...

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Is it possible to do contrast stretching without using imadjust.
Hi, Is it possible to do contrast stretching without using imadjust. If possible can anyone give me an example.

bijna 8 jaar ago | 1 answer | 0

1

answer

Question


Error using histeq Expected input number 1, I, to be two-dimensional. Error in histeq (line 70) validateattributes(a,{'uint8','uint16','double','int16','single'}, ...
my code is a=imread('cameraman.jpg'); r=size(a,1); c=size(a,2); ah=uint8(zeros(r,c)); n=r*c; f=zeros(256,...

bijna 8 jaar ago | 1 answer | 0

1

answer

Load more