Skyline function Neural Network Toolbox
이전 댓글 표시
I'm trying to compile code where this assignment appears and the skyline function is not recognized.
It belongs to nnet.
v = [skyline(2000,10,40,10,90) skyline(2000,140,180,10,90)];
Does this function no longer exist?
Traductor de Google
댓글 수: 5
Cris LaPierre
2023년 12월 22일
편집: Cris LaPierre
2023년 12월 22일
As far as I know, MATLAB does not have a skyline function. Its use here makes me think skyline is a variable. Please share all the relevant code so we can help.
Also, what version of MATLAB are you using? The Neural Network Toolbox was renamed to the Deep Learning Toolbox in 2018.
JESÚS MARÍA
2024년 1월 1일
close all
clc
clear
A1=0.04;
A4=0.04;
B1=1.5e-4;
B4=1.5e-4;
Kp1=3.75e-6;
Kp4=3.75e-6;
g=9.8;
v = [skyline(2000,10,40,10,90) skyline(2000,140,180,10,90)];
p = [skyline(2000,10,40,5,100) skyline(2000,140,180,5,100)];
sim('plant.slx');
figure
subplot(2,1,1)
plot(p,'b');hold on; plot(v,'r')
legend('p','v')
subplot(2,1,2)
plot(0:length(p),h1.Data,'b');hold on; plot(0:length(p),h4.Data,'r')
legend('h1','h4')
dataset=[p' v' h1.Data(2:end) h4.Data(2:end)];
disp('comprobacion mínimos')
min(dataset(:,3))
min(dataset(:,4))
JESÚS MARÍA
2024년 1월 1일
Thank you.
JESÚS MARÍA
2024년 1월 1일
It is a version before 2018. I wanted to know what the Skyline function does with that data, to adapt it to a current Deep Learning Toolbox function.
JESÚS MARÍA
2024년 1월 2일

답변 (1개)
It seems that you are trying to use a MATLAB function that does not exist. Please refer to the following documentation for a list of functions that are available on the Deep Learning Toolbox:
Hope this helps!
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!