regarding machine learning onramp

sir i am stuck at module 3.3 of machine learning onramp course at task 1.
please do help me to continue with the course.

Antworten (3)

VISHAL
VISHAL am 30 Mai 2020

2 Stimmen

letterds = datastore("*_M_*.txt");
data = read(letterds);
data = scale(data);
plot(data.X,data.Y)
axis equal
plot(data.Time,data.Y)
ylabel("Vertical position")
xlabel("Time")
function data = scale(data)
data.Time = (data.Time - data.Time(1))/1000;
data.X = 1.5*data.X;
end

2 Kommentare

sarthak bagadi
sarthak bagadi am 26 Okt. 2022
Bearbeitet: sarthak bagadi am 26 Okt. 2022
thanks bro!
JAWHAR HUSSAIN
JAWHAR HUSSAIN am 31 Aug. 2024
can you please give answer for task 4

Melden Sie sich an, um zu kommentieren.

Logesh B
Logesh B am 1 Jan. 2022

0 Stimmen

preprocds = transform(letterds,@scale)

6 Kommentare

Naethan Smith
Naethan Smith am 12 Feb. 2022
It keeps coming up with an error message when I enter that code into task 2, is there an alternative code?
Tinghui
Tinghui am 19 Aug. 2022
I echo the same question. It keeps saying " does the variable preprocds exist?"
구룽
구룽 am 2 Okt. 2022
same here.
Shraddha Gandham
Shraddha Gandham am 23 Jan. 2023
same here
Jose
Jose am 13 Feb. 2024
same here. Has someone managed to overcome this message?
Image Analyst
Image Analyst am 13 Feb. 2024
Bearbeitet: Image Analyst am 13 Feb. 2024
What is the link for the on-ramp course. If I call it up can I jump to that question or do I have to do all the prior tasks before getting to that?

Melden Sie sich an, um zu kommentieren.

Sudharshan
Sudharshan am 10 Nov. 2024

0 Stimmen

function data = scale(data)
data.Time = (data.Time - data.Time(1))/1000;
data.X = 1.5*data.X;
data.X = data.X - mean(data.X);
data.Y = data.Y - mean(data.Y);
end

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 24 Mai 2020

Beantwortet:

am 10 Nov. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by