Community Profile

# vetri veeran

### cbnu

Last seen: ongeveer 2 jaar ago Active since 2014

Professional Interests: signal processing

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

ongeveer 2 jaar ago | 1 answer | 0

### 1

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

bijna 6 jaar ago | 1 answer | 0

### 1

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

bijna 6 jaar ago | 1 answer | 0

### 1

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

ongeveer 6 jaar ago | 1 answer | 0

### 1

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

ongeveer 6 jaar ago | 1 answer | 0

### 1

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

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

ongeveer 6 jaar ago | 3 answers | 0

### 3

Question

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 7 jaar ago | 0 answers | 0

### 0

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

meer dan 7 jaar ago | 0 answers | 0

### 0

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

meer dan 7 jaar ago | 1 answer | 0

### 1

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

bijna 8 jaar ago | 1 answer | 0

### 1

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

bijna 8 jaar ago | 1 answer | 0

### 1

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

bijna 8 jaar ago | 1 answer | 0

### 1

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

bijna 8 jaar ago | 0 answers | 0

### 0

Question

Subscripted assignment dimension mismatch.

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 2 answers | 0

### 2

Question

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

meer dan 8 jaar ago | 0 answers | 0

### 0

Question

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

meer dan 8 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 8 jaar ago | 0 answers | 0

### 0

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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

meer dan 8 jaar ago | 1 answer | 0

### 1

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.

meer dan 8 jaar ago | 1 answer | 0