How to run encoder.m file .following message appears: Undefined function or variable 'raw_message'? appears as i press run button
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to run encoder.m file downloaded from the matlab website .
Undefined function or variable 'raw_message'? appears as i press run button
2 comentarios
Image Analyst
el 13 de Dic. de 2018
Either pass in raw_message via the argument list, or assign it a value before you try to use it.
Harshit verma
el 15 de Oct. de 2020
%% Manchester Encoding
clear all; close all; clc;
len_input = 20;
menchester_input = floor(1.8*rand(1,len_input));
for i = 1:1:len_input
if menchester_input(i) == 1
menchester_output(2*(i-1) + 1 : 2*(i-1) + 2) = [0 1];
else
menchester_output(2*(i-1) + 1 : 2*(i-1) + 2) = [1 0];
end
end
[Menchester_Decode_out] = Menchester_Decoding(menchester_output);

Respuestas (0)
Ver también
Categorías
Más información sobre Adding custom doc en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!