Community Profile

photo

Tasos Apostolopoulos


Last seen: fast 2 Jahre vor Aktiv seit 2022

Followers: 0   Following: 0

Statistiken

  • Thankful Level 2
  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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); % Βρείτε το μήκος της γραμ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


i want o calculate the sphere radius as a function of V where V=pi ,but i can not get the right result
function [rad1, rad2] = my_eval_parameters(E_C,V_S) rad1=sqrt(E_C/pi); rad2= (3*V_S/4*pi)^(1/3); %nthroot(3*V_S/4*pi,3)...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


i can not figure out what is wrong with my code,when i call my function it does show eny outpout
function [out,temp]=zari(N) x1=0; %to plithos Z1 x2=0; %to plithos Z2 x3=0; %to plithos Z3 x4=0; %to plithos Z4 sum1=0; ...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort