Writing a MATLAB Program (Previous Release)

Get a Free Trial: https://goo.gl/C2Y9A5
Get Pricing Info: https://goo.gl/kDvGHt
Ready to Buy: https://goo.gl/vsIeA5
Write a MATLAB program, including creating a script and a function. Download code and watch other videos at http://mathworks.com/video

Comments

Noshotgun4u says:

anyone else not understand any of this?

superbros15 says:

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEe

ركن زينب says:

oh thank you soo much it s exactly what i am looking for

xie xiong says:

thanks 

Blade ManX says:

thing is nerds are rich

MusicSlaveAlien says:

I wrote the same code that he runs at 3:56, without clearing the work space and it threw me an error. Why clearing the work space helped the program to run?

Derimmerjung says:

Please, read the original message

Chunmeista says:

@superbros15 Are you talking about Electrical Engineering or something?

ruben altamirano says:

How can i get MODSIM in simulink?

Cherry Cervantes says:

I started learning the MATLAB on udemy, here is a -74% coupon to the LEARN MATLAB course:
https://www.udemy.com/learn-matlab/?couponCode=ML25

JustSimplySilly says:

DurhamRockerz

MATLAB says:

Yes, see information on the MATLAB Compiler.

SplitYoWigBack says:

windows xp? aw fuck yeah

JaneFord says:

How do you export your matlab programme as standalone EXE file?

MATLAB says:

Googling working+with+arrays+matlab should find you some good resources such as the “Working with Arrays” video.

MATLAB says:

Did you type clear? (¿Sabía usted escriba clear?)

reepermaple says:

I walked into my college lab to ask my MATLAB professor some questions about how to plot x,y,z contour maps, for I just started using this program 3 weeks ago. As I walked into his office, his assistant was writing a code that was ridiculous, at least to me. Three monitors connected and his code was diagonal and symmetrical; words wouldn’t give it justice.

guqifei says:

voice sounds like bruce from family guy

reepermaple says:

@jaffey2006 Read it over, I didn’t mention anything about my intelligence, I just wanted to convey what a powerful tool matlab is and how I was amazed at what it could do.

ahmed eissa says:

https://iversity.org/c/13?r=2d0b4 
  
FREE Matlab and Modeling course  (MOOCS)

you can learn at the end how to model robots ,do image processing 
CHECK IT OUT

Abdelrahman Ayad says:

A great online course (free) for Modelling and Simulation using MatLab
https://iversity.org/c/13?r=e2b6c

22Blueye says:

thank You!!

Ujjval Patel says:

6 minutes and this guy explained all stuffs I was confused from last 6 weeks.
great work man.

tirckyspeed says:

@superbros15

XD

Pedro Lebron says:

anyone know how to use the “set” function? tried reading the help but didnt understand it… thanks

Frank Hernandez says:

how do i use matlab?

EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEE
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Akaninyene Etuk says:

so-so

NAGI REDDY SIVA KUMAR REDDY says:

how can get netcdf file into matlab.
how to open netcdf file by using matlab program

Derimmerjung says:

Yes sirs, you were right. I did the corrections with the mixing up of variables; but when I run the function “forza” continue appearing: B, b, A and ovbiusly S. It shouldn’t be only S? or perhaps is normal to see all these variables in the command window?

Vijay Reddy says:

explain me this program

clc;

%close
all;

clear
all;

s_f=0;

q_f=0;

m=6;

T=10000;

W=0.601;

N
=2*m; %sample points N=T/Ts=T/1/2W=2TW

Base=
0.01:0.02:1;

Pf
=Base.^2; %False alarm

snr_avgdB
=10; %SNR=Ps/(N0*W)

snr_avg=
power(10,snr_avgdB/10); %db to linear snr

for
i=1:length(Pf)

Over_Num
= 0;

for
kk = 1:10000 %Monter-Carlo times

%If
Transimmting Single tone

t
= 1:N; %samples

x
= randint(1,N); %single tone, Fs=2F0

signal
= 2*x-1;%(1/snr_avg)*exp(-snr_avgdB/snr_avg); %f_lamda

Es
= sum(abs(signal.^2)); %signal average power

N01=Es/snr_avg;

sdd=
N01*W;

noise
= sdd.*randn(1,N); %Noise production

%awgn
channels

Rev_sig
= signal + noise; %received signal for detection

Th(i)
= gammaincinv(1-Pf(i),m)*2; % Lemda Threshold for given Pf(i) according to
Digham 2003

Y(i)
= sum(abs(Rev_sig.^2))./(N01*W); %accumulated received power(normalized to
noise power)

if
Y(i)>Th(i)

Over_Num
= Over_Num +1; %decide 1 or 0, present or absent

end

end

Pd_sim(i)
= Over_Num / kk; %Detection probability computation

pm_sim(i)=1-Pd_sim(i)

pd_theory(i)
= marcumq(sqrt(snr_avg),sqrt(Th(i)), m);

pm_theory(i)=1-pd_theory(i)

%Theory
results according Digham 2003 in awgn channel

%
Pd_appm(i) =
0.5*erfc((sqrt(2)*erfcinv(2*Pf(i))-snr_avg*sqrt(m))/sqrt(2+4*snr_avg));

%approximation
when m>100, chi-squre appoximate gaussion

%
for n=0:(m-2)

%
    q=(1/factorial(n))*(Th(i)*l)/(2*(1+l));

%
    s=(1/factorial(n))*(Th(i)/2)^(n);

%
    q_f=q_f+q;

%
    s_f=s_f+s;

%
end

 

%
pd_f(i)=(exp(-Th(i)/2)*s_f) +
(((1+l)/l)^(m-1))*((exp(-Th(i)/(2*(1+l)))-((exp(-Th(i)/2))*q_f)));

%
pm_f(i)=1-pd_f(i);

 

%
pm_appm(i)=1-Pd_appm(i);

 

end

%figure

%loglog(Pf,pd_f,’*r’,Pf,Pd_theory,’-.m’,Pf,Pd_appm,’–b’);%Complementary
ROC Curve

loglog(Pf,pm_theory,’-.r’,
Pf,pm_sim,’-.b’);

%
 loglog(Pf,pm_theory,’-.b’); hold on

 

 

xlabel(‘Pf’);

ylabel(‘Pm’);

%
legend(‘Theory’,’Simulation’,’Approximation’);

MATLAB says:

The command window displays the history of the commands you entered. It does not list what variables are currently in your workspace. The workspace window does that (or type who). Typing clc will clear the command window.

MATLAB says:

Not sure what you are trying to do with your a,b,n,A,B variables. You may be mixing-up your loop index “a”, number of iterations “n” and the data variables b, A, and B.

Karan Thakur says:

Loving it.

Karlo Torres says:

xt36w457021

 Write a comment

*

Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!