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 Commenti

Cris LaPierre
Cris LaPierre il 22 Dic 2023
Modificato: Cris LaPierre il 22 Dic 2023
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.
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))
Thank you.
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.

Accedi per commentare.

Risposte (1)

Ganesh
Ganesh il 26 Dic 2023
Modificato: Ganesh il 26 Dic 2023
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!

Categorie

Scopri di più su Deep Learning Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by