Login

Welcome, Guest. Please login or register.

October 04, 2025, 03:06:55 am

Author Topic: ENG1060 Computing  (Read 44533 times)  Share 

0 Members and 1 Guest are viewing this topic.

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #165 on: May 12, 2011, 12:37:36 am »
0
Thanks for that man, working fine now  :D

=o thought you swapped your inequality sign.

Anyway the answers are 25 for the 1st and 6 for the 2nd.

Should be fine if you get them.
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #166 on: May 12, 2011, 07:44:53 pm »
0
The lab demonstrator who marked me is an idiot. Takes a mark off just cos I didnt display the output to all of my m-files in the command window. Robbed me of a 10.  >:(

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #167 on: May 15, 2011, 01:08:39 am »
0
For 1d of the assignment, how do you calculate the squared error?

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #168 on: May 15, 2011, 01:20:55 am »
0
For 1d of the assignment, how do you calculate the squared error?

I just went (z_pred - z_raw).^2. Where z_pred and z_raw is a matrix making up your left wall Up until the point of intersection between the left and right wall.
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

taiga

  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 4085
  • Respect: +588
Re: ENG1060 Computing
« Reply #169 on: May 15, 2011, 01:22:16 am »
0
Squared error is just deviation from the actual value, so yeah Jinxi is right
vce: english, methods, spesh, chemistry, physics, geography.

ex admin/mod/partner

2010: Melbourne High School (VCE)
2011 - 2016: Monash University BComm/BEng (Hons)


If you guys have any concerns/suggestions for making ATARNotes a better place, don't hesitate to PM me.

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #170 on: May 15, 2011, 01:24:26 am »
0
So should z_pred matrix be the same dimensions as z_raw?

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #171 on: May 15, 2011, 02:09:07 pm »
0
I used the best fitted z value and the average of the z value to find the squared error and after you use imshow it should have a red bit on the left of the line
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #172 on: May 15, 2011, 03:42:19 pm »
0
I'm confused as to what our final result is meant to be. Is it meant to look like an actual doorhandle or just one single line of pixels?

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #173 on: May 15, 2011, 04:21:08 pm »
0
just a line of pixel with different colour, the 'glowing' part is the doorhandle. btw anyone done 2b? do you have to use a different threshold value for every image? if so how do i put that into my loop? thanks
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #174 on: May 16, 2011, 12:32:05 am »
0
For Q2a of assigment, do we just have to read the numeric data or do we need to read the textdata as well?

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #175 on: May 16, 2011, 12:58:27 am »
0
For Q2a of assigment, do we just have to read the numeric data or do we need to read the textdata as well?

just the numerical data. We did this in PASS ages ago, just use importdata, then go into your command window, double click the variable u assigned the data into and there would be a 'subname' Eg. data.data. You can just treat is as a new variable, meaning you and index it etc.
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

m@tty

  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 4324
  • Respect: +33
  • School: Heatherton Christian College
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #176 on: May 16, 2011, 06:08:46 pm »
0
just a line of pixel with different colour, the 'glowing' part is the doorhandle. btw anyone done 2b? do you have to use a different threshold value for every image? if so how do i put that into my loop? thanks

I got http://imageshack.us/photo/my-images/35/part1dj.jpg/ for part 1 (d) Not just a single line..

haven't done 2b yet... if so, that's really annoying.
2009/2010: Mathematical Methods(non-CAS) ; Business Management | English ; Literature - Physics ; Chemistry - Specialist Mathematics ; MUEP Maths

96.85

2011-2015: Bachelor of Aerospace Engineering and Bachelor of Science, Monash University

2015-____: To infinity and beyond.

JinXi

  • Victorian
  • Forum Leader
  • ****
  • Posts: 818
  • Respect: +90
  • School: Camberwell High School
  • School Grad Year: 2010
Re: ENG1060 Computing
« Reply #177 on: May 16, 2011, 07:02:51 pm »
0
bleh Im quite sure I did 2b right but My value for 1993 is off the ssa line from part a by about 10km^2... thats the nearest i can get it with the threshold value's given..

Anyway for part 2e, anyone get the ssa hits 0 during 2014 for polynomial and during 2021 for ODE?

Edit: got 2013 for the polynomial. Did a stupid error
« Last Edit: May 16, 2011, 10:11:59 pm by JinXi »
Monash B.Aero Eng/Sci Discontinued in Sem2 2012 [2011-2015]

"I will always choose a lazy person to do a difficult job… because, he will find an easy way to do it." ~ Bill Gates
^ SNORLAX, I chooosee You!!!

xZero

  • Victorian
  • Forum Leader
  • ****
  • Posts: 898
  • Respect: +68
Re: ENG1060 Computing
« Reply #178 on: May 16, 2011, 07:29:58 pm »
0
Yup got that for 2e:) and yeah for 2b the values are way off. Also m@tty how did you get that image? I just found the error between the estimated z value and the average z value, any hints? :D
2009: Chinese SLA
2010: English, Maths method[45,A+ A+ A+], Specialist maths[44,A+,A,A+], Physics[40,A,A+,A+], Psychology Atar:94.75
2011-2015: Bachelor of Aerospace Engineering/Science @ Monash

Methods/Spesh/Physics tuition

sajib_mostofa

  • Victorian
  • Forum Leader
  • ****
  • Posts: 829
  • Respect: +6
Re: ENG1060 Computing
« Reply #179 on: May 16, 2011, 07:41:20 pm »
0
For Q1b, can anyone tell me what average we are trying to plot? Is it the average of the data that has had the last 8 columns removed, the raw data with all the noise or the data that with every 10th point addressed?