SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
ATIQA IJAZ KHAN

Q

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

uestion-1:

Q

uestion-2:

Assingment_02

Friday, March 07, 2014

1
ATIQA IJAZ KHAN

Q

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

uestion-3:
Create a variable, myend, assign it the value of 10. Using the colon operator,
create a vector that iterates from 1 to myend in steps of 3.

Assingment_02

Friday, March 07, 2014

2
ATIQA IJAZ KHAN

Q

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

uestion-4:
Using the colon operator and the transpose operator, create a column vector

that has the values –1 to 1 in steps of 0.2.

Q

uestion-5:
Write an expression that refers to only the odd numbered elements in a vector,

regardless of the length of the vector. Test your expression on vectors that have
both an odd and even number of elements.

Assingment_02

Friday, March 07, 2014

3
ATIQA IJAZ KHAN

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

Q

uestion-6:

Assingment_02

Friday, March 07, 2014

4
ATIQA IJAZ KHAN

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

Question-7:

Question-8:
The built-in function clock returns a vector that contains six elements: the first
three are the current date (year, month, day) and the last three represent the current
time in hours, minutes, and seconds. The seconds is a real number, but all others
are integers. Store the result from clock in a variable called myc. Then, store the
first three elements from this variable in a variable called today, and the last three
elements in a variable called now. Use the fix function on the vector variable called
now to get just the integer part of the current time.

Assingment_02

Friday, March 07, 2014

5
ATIQA IJAZ KHAN

Assingment_02

INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB

Friday, March 07, 2014

6

Contenu connexe

En vedette (10)

Introduction to LiDAR_2016
Introduction to LiDAR_2016Introduction to LiDAR_2016
Introduction to LiDAR_2016
 
Instructions for Authors of IJRS (International Journal of Remote Sensing) fo...
Instructions for Authors of IJRS (International Journal of Remote Sensing) fo...Instructions for Authors of IJRS (International Journal of Remote Sensing) fo...
Instructions for Authors of IJRS (International Journal of Remote Sensing) fo...
 
Seep Concept_2016
Seep Concept_2016Seep Concept_2016
Seep Concept_2016
 
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
Islamic Studies-Ethics-Pak Studies MBBS Part 2 UHS Paper-2016
 
Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016Physiology MBBS Part 2 UHS Paper-2016
Physiology MBBS Part 2 UHS Paper-2016
 
Transportation and assignment_problem
Transportation and assignment_problemTransportation and assignment_problem
Transportation and assignment_problem
 
Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017Catalog of Earth Satellite Orbits_2017
Catalog of Earth Satellite Orbits_2017
 
EE201_Assignment3
EE201_Assignment3EE201_Assignment3
EE201_Assignment3
 
Assignment1
Assignment1Assignment1
Assignment1
 
Manual Solution Probability and Statistic Hayter 4th Edition
Manual Solution Probability and Statistic Hayter 4th EditionManual Solution Probability and Statistic Hayter 4th Edition
Manual Solution Probability and Statistic Hayter 4th Edition
 

Plus de Atiqa khan

Plus de Atiqa khan (20)

2019_Wingdings Font - Times New Roman
2019_Wingdings Font  - Times New Roman2019_Wingdings Font  - Times New Roman
2019_Wingdings Font - Times New Roman
 
English Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 KeyboardEnglish Urdu Font in Windows 10 Keyboard
English Urdu Font in Windows 10 Keyboard
 
2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen2018 Solutions to Sleep Screen
2018 Solutions to Sleep Screen
 
2017 Thesis Check List Doc
2017 Thesis Check List Doc2017 Thesis Check List Doc
2017 Thesis Check List Doc
 
2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning2017 Terms in GIS Town Planning
2017 Terms in GIS Town Planning
 
2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS2017 Pictorial Differences GIS & RS
2017 Pictorial Differences GIS & RS
 
2017 Response Letter to a Journal
2017 Response Letter to a Journal2017 Response Letter to a Journal
2017 Response Letter to a Journal
 
2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal2017 How to write Author Biography for Journal
2017 How to write Author Biography for Journal
 
2017 Information about NUST Engineering
2017 Information about NUST Engineering2017 Information about NUST Engineering
2017 Information about NUST Engineering
 
2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms2017 Glossary Of Cartographic Terms
2017 Glossary Of Cartographic Terms
 
2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation2017 Types Of Orbits Brief Explanation
2017 Types Of Orbits Brief Explanation
 
2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall2017 IST Undergraduates Admission Guide for Fall
2017 IST Undergraduates Admission Guide for Fall
 
2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF2017 Editable Thesis Checklist PDF
2017 Editable Thesis Checklist PDF
 
2017 Basics of GIS
2017 Basics of GIS2017 Basics of GIS
2017 Basics of GIS
 
2016 Tenses in Research Paper
2016 Tenses in Research Paper2016 Tenses in Research Paper
2016 Tenses in Research Paper
 
Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016Bio Chemistry MBBS Part 2 UHS Paper-2016
Bio Chemistry MBBS Part 2 UHS Paper-2016
 
Editable CD Cover Template_2016
Editable CD Cover Template_2016Editable CD Cover Template_2016
Editable CD Cover Template_2016
 
GO SMS Backup, Restore, and Decrypt
GO SMS Backup, Restore, and Decrypt GO SMS Backup, Restore, and Decrypt
GO SMS Backup, Restore, and Decrypt
 
Response Letter to a Journal_2017
Response Letter to a Journal_2017Response Letter to a Journal_2017
Response Letter to a Journal_2017
 
Root-Unroot Huawei P7 using Root Genius_2016
Root-Unroot Huawei P7 using Root Genius_2016Root-Unroot Huawei P7 using Root Genius_2016
Root-Unroot Huawei P7 using Root Genius_2016
 

Dernier

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 

02 atiqa ijaz khan 02

  • 1. ATIQA IJAZ KHAN Q INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB uestion-1: Q uestion-2: Assingment_02 Friday, March 07, 2014 1
  • 2. ATIQA IJAZ KHAN Q INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB uestion-3: Create a variable, myend, assign it the value of 10. Using the colon operator, create a vector that iterates from 1 to myend in steps of 3. Assingment_02 Friday, March 07, 2014 2
  • 3. ATIQA IJAZ KHAN Q INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB uestion-4: Using the colon operator and the transpose operator, create a column vector that has the values –1 to 1 in steps of 0.2. Q uestion-5: Write an expression that refers to only the odd numbered elements in a vector, regardless of the length of the vector. Test your expression on vectors that have both an odd and even number of elements. Assingment_02 Friday, March 07, 2014 3
  • 4. ATIQA IJAZ KHAN INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB Q uestion-6: Assingment_02 Friday, March 07, 2014 4
  • 5. ATIQA IJAZ KHAN INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB Question-7: Question-8: The built-in function clock returns a vector that contains six elements: the first three are the current date (year, month, day) and the last three represent the current time in hours, minutes, and seconds. The seconds is a real number, but all others are integers. Store the result from clock in a variable called myc. Then, store the first three elements from this variable in a variable called today, and the last three elements in a variable called now. Use the fix function on the vector variable called now to get just the integer part of the current time. Assingment_02 Friday, March 07, 2014 5
  • 6. ATIQA IJAZ KHAN Assingment_02 INSTITUTE OF GEOLOGY, UNIVERSITY OF THE PUNJAB Friday, March 07, 2014 6