Statistica
5 Domande
0 Risposte
RANK
73.828
of 300.871
REPUTAZIONE
0
CONTRIBUTI
5 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
40.0%
VOTI RICEVUTI
0
RANK
of 171.460
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
I am getting an error as "Operands to the || and && operators must be convertible to logical scalar values. Error in xd (line 8) if (t>=t1)&&(t<t2)".
my code is t1 = 0; t2 = 10; t3 = 20; t4 = 30; t = 0:50; if (t>=t1)&&(t<t2) r = 0.6; if (t>=t2)&&(t<t3) r =...
quasi 7 anni fa | 3 risposte | 0
3
risposteDomanda
I am getting an error "Data 'hhatdot' is inferred as a variable size matrix, while its specified type is something else." My equation is "hhatdot =p*(u(t-hhat)-u(t-h))*udot". So please can anyone help me with this.
function [hhatdot,bufferutnew] = fcn(ut,h,hhat,hmax,taus,udot,bufferut) %#codegen p = 0.05; n=hmax/taus+1; %%% updating in...
circa 7 anni fa | 0 risposte | 0
0
risposteDomanda
simulink problem in connecting vector concatenate to goto block
I am working in simulink, i am connecting a vector concatenate output which is (5,1) to goto block ,but the goto block is takin...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
I am getting an error for the below eqn . I wrote coding in matlab function (user defined function in simulink),so please help with this.I have also attached my simulink model.
function y = fcn(h,u) A = [0 1;-1 1]; B = [0;1]; N = 300; y = zeros(1,500); t = 0:25 for i = 1:N y = (h/N)*exp(i*A*(h/N)...
circa 7 anni fa | 1 risposta | 0
1
rispostaDomanda
matlab coding for the below
r(t) =1 − e−γ2t ,t ≤ Ta 4e−γ1(t−Tb)(sin(2πωat) + 1), otherwise t=500 Ta=250,Tb=500/2.2,γ1=0.07,γ2=0.004,ωa = 0....
oltre 7 anni fa | 1 risposta | 0

