Community Profile

# Tasos Apostolopoulos

Last seen: 1 month ago Active since 2022

#### Content Feed

View by

Question

Its says error :Variable im_final must be of size [691 546]. It is currently of size [546 691]. Check where the variable is assigned a value. I canont figure it out
fid=fopen('Alien_Message'); data = fread(fid,[1 inf],'uint8'); %data is size 1x402741 fclose(fid); % Βρείτε το μήκος της γραμ...

3 months ago | 0 answers | 0

### 0

Question

When i run my code it says Unrecognized function or variable A.
function res = my_matlab_function(A,N) A=4; N=30; y(1)=1/2*(3+(A^2/3)); y(2)=1/2*(y(1)+(A^2/y(1))); y(3)=1/2*(y(2)+(A^2/y(2...

5 months ago | 2 answers | 0

### 2

Question

i want o calculate the sphere radius as a function of V where V=pi ,but i can not get the right result

5 months ago | 1 answer | 0

### 1

Question

i dont get why it says Unrecognized function or variable 'Nbin when i run it
clear clc clf sum1=0; N = 10000; xx=0:0.01:19; y1=(xx/2.89).*exp(-xx.^2/5.78); plot(xx,y1,'b','linewidth',3) hold on ...

5 months ago | 1 answer | 0

### 1

Question

i have a function and i need to find the output of the last value. y(n)=1/2*(y(n-1)+A^2/y(n-1)) 0<=n<=N-1 (N=30 A=4),When i run it says output arguments not assignet.
function res = my_matlab_function(A,N) y(1)=1/2*(3+(A^2/3)); y(2)=1/2*(y(1)+(A^2/y(1))); for n=2:(N-1) y(n)=1/2*(y(n-1)+...

5 months ago | 2 answers | 0