Question

Attempt to execute SCRIPT rot90 as a function:

img = imread('cameraman.jpg'); imshow(img); img1 = imnoise(img,'salt & pepper', 0.02); figure,imshow(img1) vet=...

bijna 8 jaar ago | 1 answer | 0

Question

Error using imnoise>ParseInputs (line 227)

code: k = imread('filter.jpg'); l = imnoise(k,'salt & papper',0.02); I got an error as Error using imnoise>ParseInputs...

bijna 8 jaar ago | 1 answer | 0

Answered

how to enter mask

Hi sir, I want to enter this mask given below to 288*543. 288*543 contains initially 1000 as non object and 0 as object...

how to enter mask

Hi sir, I want to enter this mask given below to 288*543. 288*543 contains initially 1000 as non object and 0 as object...

bijna 8 jaar ago | 0

Question

how to enter mask

Hi sir, I want to enter this mask given below to 288*543. 288*543 contains initially 1000 as non object and 0 as object. ...

bijna 8 jaar ago | 2 answers | 0

Question

I have a binary image having pixels 288*543

I have a binary image having pixels 288*543(rows and columns). To that i need to assign zeros for 1 row and 1 column surrounding...

bijna 8 jaar ago | 2 answers | 0

Question

I got an error as Function definitions are not permitted in this context.

This is my code, I want to compute threshold of an image.I copied this code from internet.I am getting some problem in function ...

bijna 8 jaar ago | 1 answer | 0

Question

Below is the code to rotate by 90 but how to rotate a matrix by 180 and 270 without using matlab fuctions

% Below is the code to rotate by 90 but how to rotate a matrix by 180 and 270 A=[1 2 3 4;5 6 7 8;10 11 12 13] [nr,nc] ...

bijna 8 jaar ago | 0 answers | 0

Question

can anyone help me how to rotate an image using for loop

Hi, I am new to this matlab language. This is the image and I need to rotate this image by 90 without using matlab functions.can...

bijna 8 jaar ago | 1 answer | 0

Question

i am getting an error as Attempt to call constructor image with incorrect letter case.

This is my code a=imread('test.jpg') imshow(a); i got error as Attempt to call constructor image with incorrect lett...

bijna 8 jaar ago | 1 answer | 0

Question

i got an error as Warning: Ignoring extra legend entries

figure('name','flux vs current'); h1=plot(I1, flux1); set(h1,'color','red','linewidth',3); grid on; hold all; h2=plot(I2,...

ongeveer 8 jaar ago | 2 answers | 0

Question

In this program i want to assign C(0)=c0 and i need to plot values of C(t) from t=0 to 6. Also i need to plot the values of C(t) for v=1,5,-1,-5. I got an error as Attempted to access c(0)index must be a positive integer or logical. anyone help me?

clear all; k=10e6; cmin=10e-9; cmax=10e-6; c0=100e-9; v=1; for t=1:6 C(t)=c0-sqrt(1+(2*c0^2*k*(1/c...

ongeveer 8 jaar ago | 1 answer | 0

Question

How to plot c(t) vs t

How to plot c(t) vs t with these parameters for various values of v c(t)=c0-c03*k*(1/cmin-1/cmax)*v*u(t) where, ...

ongeveer 8 jaar ago | 1 answer | 0

Question

Error: File: hh.m Line: 148 Column: 1 Function definitions are not permitted in this context.

This is my code, clc; clear all; %Constants set for all Methods Cm=0.01; % Membrane Capcitance uF/cm^2 dt=0...

ongeveer 8 jaar ago | 1 answer | 0

Question

I am getting an error as Function definitions are not permitted in this context.

My code function dydt = HH(t,y) % Constants ENa=55.17; % mv Na reversal potential EK=-72.14; % mv K reversal p...

ongeveer 8 jaar ago | 1 answer | 0

Question

How to assign negative values to a variable

I am getting an error as like this. Subscript indices must either be real positive integers or logicals. my code is, ...

ongeveer 8 jaar ago | 2 answers | 0

Question

i got an error as Error in memristor2 (line 29) q(i)=Qo*Ro(1-sqrt(1-(2*n*(Roff-Ron)*flux(i)))/(Qo*Ro*Ro))/(n*(Roff-Ron));

i got an error as Error in vet(line 29) Subscript indices must either be real positive integers or logicals q(i)=Qo*Ro(...

ongeveer 8 jaar ago | 0 answers | 0