SlideShare uma empresa Scribd logo
1 de 2
1. (25 Points) 20 Plot. You must make a single script file that contains commands: for all sub-
questions (trom i to vi). the Matiak 29 phot commende to plet the Kellene tiere function for a
trime 2 to 22. y ( x ) = 7 x h 2 + 24 + 4 x y ( x ) = 05 x 2 14 x 2 + 12 x 1 Y ( x ) = 15 sin ( x ) +
63 min 2 ( x ) + 13 Q Rainta) From Command Wendcu akkng asec ts enter foge nume and saye
the arvier ii. [2. Foints] Froen Command Window mhive was to enter pour wetwool iD and lave
the anveer in variable mylo, JNotes mych it a strinel (2 Points) Uhing Matlab colon operatse fo
oreite a voctor a that is from 2 to + 2 with: spaving of out. W. 46 Prints) use Matlabicommands
10 create the en vectors fer she above defined functions y ( x ) , name thers y 1 , y 2 , and y 3
with input vectoe x . Matlab data file ese 1300 - Ouirz ol mat?". vi. (10 Points) Use Matiab
subplet cpinand to ere ate the se segarate plots in cone figure for the eenerated the vectors y 2 , y
2 and y3 froen finl. if youe atudent in ands with an even number, the shrer ploti wit be arrayged
in there sowis and one columny and if your student ib erads wich an odd number, the three phem
wie be arrangeit in ove row and theee columine. - Fach plot should include appeopriate tirle
(Apecily it is y1, y2, or y 3, no need to have detail dencription of the fumeticaral. - All three
plots use soid line, tiat itwey are in diferwe celon, No inarkers are needed. (25 Points) 2D Plot.
You must make a single script file that contains commands for all sub-questions (from i to vi).
Use Matlab 2D plot commands to plot the following three function for x from 2 to + 2 . y ( x ) =
2 e 3 x 2 24 + 4 x y ( x ) = 0.5 x 3 1.4 x 2 + 12 x 3 y ( x ) = 15 sin ( x ) + 0.2 sin 2 ( x ) + 13 i. (2
Points) From Command Window asking user to enter your name and save the answer in variable
myName. (Note: myName is a string) ii. (2 Points) From Command Window asking user to enter
your school ID and save the answer in variable mylD. (Note: mylD is a string) (2 Points) Using
Matlab colon operator to create a vector x that is from 2 to + 2 with spacing of 0.01 . (6 Points)
Use Matlab commands to create three vectors for the above defined functions y ( x ) , name them
y 1 , y2 , and y3 with input vector x . v. (3 Points) Save all created variables from i to iv
(myName, myID, x , y 1 , y2 , and y3) into a Matlab data file "BE1500_Quiz2_q3.mat". 16. (6
Points) Use Martab comnnands io create the ee vecfors for the above defined functions v ( x ) ,
name them y 1 , y 2 , and y 3 with ingut wetor x . v. (B Pointv) Save all created variables from i
to iv imytiome, myl0, x , y 1 , y 2 , and y 3 ) into a Matiab data 1Ae "BE1500 Cuin2 q q mat". vi,
(10 Pointc) Uwe Matlab subplot command to cre ite thiree sepwate plots in one figure for the
generated theee vecters y1, y and y3 tram (im), if your student 10 ends with an even numbec, the
three plots will be mtanhed in three roms qad one columin; and if your student ID ends with an
odd number, the three plots wil be arranged in one tow and three calumes. - Each plot should
include appropeiate tale Fepely is is y1; y2, or y3, no neend to have detall description of the
furctiome). - All three plots use solid line, bet they are in sitferment colors. No markers are
needed.
Plotting Functions and Saving Data

Mais conteúdo relacionado

Semelhante a Plotting Functions and Saving Data

Matlab solved problems
Matlab solved problemsMatlab solved problems
Matlab solved problemsMake Mannan
 
INTRODUCTION TO MATLAB session with notes
  INTRODUCTION TO MATLAB   session with  notes  INTRODUCTION TO MATLAB   session with  notes
INTRODUCTION TO MATLAB session with notesInfinity Tech Solutions
 
Matlab practice
Matlab practiceMatlab practice
Matlab practiceZunAib Ali
 
More instructions for the lab write-up1) You are not obli.docx
More instructions for the lab write-up1) You are not obli.docxMore instructions for the lab write-up1) You are not obli.docx
More instructions for the lab write-up1) You are not obli.docxgilpinleeanna
 
Basic MATLAB-Presentation.pptx
Basic MATLAB-Presentation.pptxBasic MATLAB-Presentation.pptx
Basic MATLAB-Presentation.pptxPremanandS3
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfahmed8651
 
An Introduction to MATLAB for beginners
An Introduction to MATLAB for beginnersAn Introduction to MATLAB for beginners
An Introduction to MATLAB for beginnersMurshida ck
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming languageLincoln Hannah
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxDevaraj Chilakala
 
Octave - Prototyping Machine Learning Algorithms
Octave - Prototyping Machine Learning AlgorithmsOctave - Prototyping Machine Learning Algorithms
Octave - Prototyping Machine Learning AlgorithmsCraig Trim
 
MATLAB-Introd.ppt
MATLAB-Introd.pptMATLAB-Introd.ppt
MATLAB-Introd.pptkebeAman
 
Fundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLABFundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLABAli Ghanbarzadeh
 
1.1Introduction to matlab.pptx
1.1Introduction to matlab.pptx1.1Introduction to matlab.pptx
1.1Introduction to matlab.pptxBeheraA
 
MATLAB for Technical Computing
MATLAB for Technical ComputingMATLAB for Technical Computing
MATLAB for Technical ComputingNaveed Rehman
 

Semelhante a Plotting Functions and Saving Data (20)

Matlab solved problems
Matlab solved problemsMatlab solved problems
Matlab solved problems
 
INTRODUCTION TO MATLAB session with notes
  INTRODUCTION TO MATLAB   session with  notes  INTRODUCTION TO MATLAB   session with  notes
INTRODUCTION TO MATLAB session with notes
 
Matlab plotting
Matlab plottingMatlab plotting
Matlab plotting
 
Mat lab
Mat labMat lab
Mat lab
 
Matlab practice
Matlab practiceMatlab practice
Matlab practice
 
More instructions for the lab write-up1) You are not obli.docx
More instructions for the lab write-up1) You are not obli.docxMore instructions for the lab write-up1) You are not obli.docx
More instructions for the lab write-up1) You are not obli.docx
 
Tutorial 2
Tutorial     2Tutorial     2
Tutorial 2
 
bobok
bobokbobok
bobok
 
Basic MATLAB-Presentation.pptx
Basic MATLAB-Presentation.pptxBasic MATLAB-Presentation.pptx
Basic MATLAB-Presentation.pptx
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdf
 
An Introduction to MATLAB for beginners
An Introduction to MATLAB for beginnersAn Introduction to MATLAB for beginners
An Introduction to MATLAB for beginners
 
Idea for ineractive programming language
Idea for ineractive programming languageIdea for ineractive programming language
Idea for ineractive programming language
 
INTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptxINTRODUCTION TO MATLAB presentation.pptx
INTRODUCTION TO MATLAB presentation.pptx
 
Octave - Prototyping Machine Learning Algorithms
Octave - Prototyping Machine Learning AlgorithmsOctave - Prototyping Machine Learning Algorithms
Octave - Prototyping Machine Learning Algorithms
 
MATLAB-Introd.ppt
MATLAB-Introd.pptMATLAB-Introd.ppt
MATLAB-Introd.ppt
 
Fundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLABFundamentals of Image Processing & Computer Vision with MATLAB
Fundamentals of Image Processing & Computer Vision with MATLAB
 
lect.no.3.pptx
lect.no.3.pptxlect.no.3.pptx
lect.no.3.pptx
 
1.1Introduction to matlab.pptx
1.1Introduction to matlab.pptx1.1Introduction to matlab.pptx
1.1Introduction to matlab.pptx
 
MATLABgraphPlotting.pptx
MATLABgraphPlotting.pptxMATLABgraphPlotting.pptx
MATLABgraphPlotting.pptx
 
MATLAB for Technical Computing
MATLAB for Technical ComputingMATLAB for Technical Computing
MATLAB for Technical Computing
 

Mais de Edwardk3aWallacey

1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx
1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx
1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docxEdwardk3aWallacey
 
1- Not all Vitamin D come from food sources- What other way are you ab.docx
1- Not all Vitamin D come from food sources- What other way are you ab.docx1- Not all Vitamin D come from food sources- What other way are you ab.docx
1- Not all Vitamin D come from food sources- What other way are you ab.docxEdwardk3aWallacey
 
1- Mendel crossed plants with green and wrinkled peas with plants with.docx
1- Mendel crossed plants with green and wrinkled peas with plants with.docx1- Mendel crossed plants with green and wrinkled peas with plants with.docx
1- Mendel crossed plants with green and wrinkled peas with plants with.docxEdwardk3aWallacey
 
1- List all of the carpal bones a b c d e f g 2- Describe ulnar devia.docx
1- List all of the carpal bones a b c d e f g 2-  Describe ulnar devia.docx1- List all of the carpal bones a b c d e f g 2-  Describe ulnar devia.docx
1- List all of the carpal bones a b c d e f g 2- Describe ulnar devia.docxEdwardk3aWallacey
 
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docxEdwardk3aWallacey
 
1- Kira recently closed her retail store in favor of operating exclusi.docx
1- Kira recently closed her retail store in favor of operating exclusi.docx1- Kira recently closed her retail store in favor of operating exclusi.docx
1- Kira recently closed her retail store in favor of operating exclusi.docxEdwardk3aWallacey
 
1- In what climatic region is the city located- 2- Look at the overall.docx
1- In what climatic region is the city located- 2- Look at the overall.docx1- In what climatic region is the city located- 2- Look at the overall.docx
1- In what climatic region is the city located- 2- Look at the overall.docxEdwardk3aWallacey
 
1- In the dispute between the FBI and Apple- which side do you support.docx
1- In the dispute between the FBI and Apple- which side do you support.docx1- In the dispute between the FBI and Apple- which side do you support.docx
1- In the dispute between the FBI and Apple- which side do you support.docxEdwardk3aWallacey
 
1- In a population with 2 alleles for a particular locus (D and d)- th.docx
1- In a population with 2 alleles for a particular locus (D and d)- th.docx1- In a population with 2 alleles for a particular locus (D and d)- th.docx
1- In a population with 2 alleles for a particular locus (D and d)- th.docxEdwardk3aWallacey
 
1- Identify the types of attacks that congest a network- Which are the.docx
1- Identify the types of attacks that congest a network- Which are the.docx1- Identify the types of attacks that congest a network- Which are the.docx
1- Identify the types of attacks that congest a network- Which are the.docxEdwardk3aWallacey
 
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docxEdwardk3aWallacey
 
1- Identify the main stakeholder groups involved in MUFC and using Fig.docx
1- Identify the main stakeholder groups involved in MUFC and using Fig.docx1- Identify the main stakeholder groups involved in MUFC and using Fig.docx
1- Identify the main stakeholder groups involved in MUFC and using Fig.docxEdwardk3aWallacey
 
1- How can a firm use information technology for a competitive advanta.docx
1- How can a firm use information technology for a competitive advanta.docx1- How can a firm use information technology for a competitive advanta.docx
1- How can a firm use information technology for a competitive advanta.docxEdwardk3aWallacey
 
1- Gallup and Glint assess employee engagement very differently- Revie.docx
1- Gallup and Glint assess employee engagement very differently- Revie.docx1- Gallup and Glint assess employee engagement very differently- Revie.docx
1- Gallup and Glint assess employee engagement very differently- Revie.docxEdwardk3aWallacey
 
1- Four friends have been identified as suspects for an unauthorized a.docx
1- Four friends have been identified as suspects for an unauthorized a.docx1- Four friends have been identified as suspects for an unauthorized a.docx
1- Four friends have been identified as suspects for an unauthorized a.docxEdwardk3aWallacey
 
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docxEdwardk3aWallacey
 
1- Explain why multitasking is often counter-productive and 2- discuss.docx
1- Explain why multitasking is often counter-productive and 2- discuss.docx1- Explain why multitasking is often counter-productive and 2- discuss.docx
1- Explain why multitasking is often counter-productive and 2- discuss.docxEdwardk3aWallacey
 
1- Explain the relationship and difference between a vulnerability and.docx
1- Explain the relationship and difference between a vulnerability and.docx1- Explain the relationship and difference between a vulnerability and.docx
1- Explain the relationship and difference between a vulnerability and.docxEdwardk3aWallacey
 
1- Explain how the supranationalism of the European Union benefits its.docx
1- Explain how the supranationalism of the European Union benefits its.docx1- Explain how the supranationalism of the European Union benefits its.docx
1- Explain how the supranationalism of the European Union benefits its.docxEdwardk3aWallacey
 
1- Draw the appearance of the inoculated motility test media tube (MTM.docx
1- Draw the appearance of the inoculated motility test media tube (MTM.docx1- Draw the appearance of the inoculated motility test media tube (MTM.docx
1- Draw the appearance of the inoculated motility test media tube (MTM.docxEdwardk3aWallacey
 

Mais de Edwardk3aWallacey (20)

1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx
1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx
1- Name the 5 forces of change Thurow presented and provide 23 sentenc.docx
 
1- Not all Vitamin D come from food sources- What other way are you ab.docx
1- Not all Vitamin D come from food sources- What other way are you ab.docx1- Not all Vitamin D come from food sources- What other way are you ab.docx
1- Not all Vitamin D come from food sources- What other way are you ab.docx
 
1- Mendel crossed plants with green and wrinkled peas with plants with.docx
1- Mendel crossed plants with green and wrinkled peas with plants with.docx1- Mendel crossed plants with green and wrinkled peas with plants with.docx
1- Mendel crossed plants with green and wrinkled peas with plants with.docx
 
1- List all of the carpal bones a b c d e f g 2- Describe ulnar devia.docx
1- List all of the carpal bones a b c d e f g 2-  Describe ulnar devia.docx1- List all of the carpal bones a b c d e f g 2-  Describe ulnar devia.docx
1- List all of the carpal bones a b c d e f g 2- Describe ulnar devia.docx
 
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx
1- Let Yt-bt2+St be a time series process- where St is assumed to be a.docx
 
1- Kira recently closed her retail store in favor of operating exclusi.docx
1- Kira recently closed her retail store in favor of operating exclusi.docx1- Kira recently closed her retail store in favor of operating exclusi.docx
1- Kira recently closed her retail store in favor of operating exclusi.docx
 
1- In what climatic region is the city located- 2- Look at the overall.docx
1- In what climatic region is the city located- 2- Look at the overall.docx1- In what climatic region is the city located- 2- Look at the overall.docx
1- In what climatic region is the city located- 2- Look at the overall.docx
 
1- In the dispute between the FBI and Apple- which side do you support.docx
1- In the dispute between the FBI and Apple- which side do you support.docx1- In the dispute between the FBI and Apple- which side do you support.docx
1- In the dispute between the FBI and Apple- which side do you support.docx
 
1- In a population with 2 alleles for a particular locus (D and d)- th.docx
1- In a population with 2 alleles for a particular locus (D and d)- th.docx1- In a population with 2 alleles for a particular locus (D and d)- th.docx
1- In a population with 2 alleles for a particular locus (D and d)- th.docx
 
1- Identify the types of attacks that congest a network- Which are the.docx
1- Identify the types of attacks that congest a network- Which are the.docx1- Identify the types of attacks that congest a network- Which are the.docx
1- Identify the types of attacks that congest a network- Which are the.docx
 
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx
1- Identify the strategy Robin Hood is following- 2- Perform a SWOT an.docx
 
1- Identify the main stakeholder groups involved in MUFC and using Fig.docx
1- Identify the main stakeholder groups involved in MUFC and using Fig.docx1- Identify the main stakeholder groups involved in MUFC and using Fig.docx
1- Identify the main stakeholder groups involved in MUFC and using Fig.docx
 
1- How can a firm use information technology for a competitive advanta.docx
1- How can a firm use information technology for a competitive advanta.docx1- How can a firm use information technology for a competitive advanta.docx
1- How can a firm use information technology for a competitive advanta.docx
 
1- Gallup and Glint assess employee engagement very differently- Revie.docx
1- Gallup and Glint assess employee engagement very differently- Revie.docx1- Gallup and Glint assess employee engagement very differently- Revie.docx
1- Gallup and Glint assess employee engagement very differently- Revie.docx
 
1- Four friends have been identified as suspects for an unauthorized a.docx
1- Four friends have been identified as suspects for an unauthorized a.docx1- Four friends have been identified as suspects for an unauthorized a.docx
1- Four friends have been identified as suspects for an unauthorized a.docx
 
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx
1- Fiscal stimulus implemented by most nations during the CoVid pandem.docx
 
1- Explain why multitasking is often counter-productive and 2- discuss.docx
1- Explain why multitasking is often counter-productive and 2- discuss.docx1- Explain why multitasking is often counter-productive and 2- discuss.docx
1- Explain why multitasking is often counter-productive and 2- discuss.docx
 
1- Explain the relationship and difference between a vulnerability and.docx
1- Explain the relationship and difference between a vulnerability and.docx1- Explain the relationship and difference between a vulnerability and.docx
1- Explain the relationship and difference between a vulnerability and.docx
 
1- Explain how the supranationalism of the European Union benefits its.docx
1- Explain how the supranationalism of the European Union benefits its.docx1- Explain how the supranationalism of the European Union benefits its.docx
1- Explain how the supranationalism of the European Union benefits its.docx
 
1- Draw the appearance of the inoculated motility test media tube (MTM.docx
1- Draw the appearance of the inoculated motility test media tube (MTM.docx1- Draw the appearance of the inoculated motility test media tube (MTM.docx
1- Draw the appearance of the inoculated motility test media tube (MTM.docx
 

Último

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 

Último (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 

Plotting Functions and Saving Data

  • 1. 1. (25 Points) 20 Plot. You must make a single script file that contains commands: for all sub- questions (trom i to vi). the Matiak 29 phot commende to plet the Kellene tiere function for a trime 2 to 22. y ( x ) = 7 x h 2 + 24 + 4 x y ( x ) = 05 x 2 14 x 2 + 12 x 1 Y ( x ) = 15 sin ( x ) + 63 min 2 ( x ) + 13 Q Rainta) From Command Wendcu akkng asec ts enter foge nume and saye the arvier ii. [2. Foints] Froen Command Window mhive was to enter pour wetwool iD and lave the anveer in variable mylo, JNotes mych it a strinel (2 Points) Uhing Matlab colon operatse fo oreite a voctor a that is from 2 to + 2 with: spaving of out. W. 46 Prints) use Matlabicommands 10 create the en vectors fer she above defined functions y ( x ) , name thers y 1 , y 2 , and y 3 with input vectoe x . Matlab data file ese 1300 - Ouirz ol mat?". vi. (10 Points) Use Matiab subplet cpinand to ere ate the se segarate plots in cone figure for the eenerated the vectors y 2 , y 2 and y3 froen finl. if youe atudent in ands with an even number, the shrer ploti wit be arrayged in there sowis and one columny and if your student ib erads wich an odd number, the three phem wie be arrangeit in ove row and theee columine. - Fach plot should include appeopriate tirle (Apecily it is y1, y2, or y 3, no need to have detail dencription of the fumeticaral. - All three plots use soid line, tiat itwey are in diferwe celon, No inarkers are needed. (25 Points) 2D Plot. You must make a single script file that contains commands for all sub-questions (from i to vi). Use Matlab 2D plot commands to plot the following three function for x from 2 to + 2 . y ( x ) = 2 e 3 x 2 24 + 4 x y ( x ) = 0.5 x 3 1.4 x 2 + 12 x 3 y ( x ) = 15 sin ( x ) + 0.2 sin 2 ( x ) + 13 i. (2 Points) From Command Window asking user to enter your name and save the answer in variable myName. (Note: myName is a string) ii. (2 Points) From Command Window asking user to enter your school ID and save the answer in variable mylD. (Note: mylD is a string) (2 Points) Using Matlab colon operator to create a vector x that is from 2 to + 2 with spacing of 0.01 . (6 Points) Use Matlab commands to create three vectors for the above defined functions y ( x ) , name them y 1 , y2 , and y3 with input vector x . v. (3 Points) Save all created variables from i to iv (myName, myID, x , y 1 , y2 , and y3) into a Matlab data file "BE1500_Quiz2_q3.mat". 16. (6 Points) Use Martab comnnands io create the ee vecfors for the above defined functions v ( x ) , name them y 1 , y 2 , and y 3 with ingut wetor x . v. (B Pointv) Save all created variables from i to iv imytiome, myl0, x , y 1 , y 2 , and y 3 ) into a Matiab data 1Ae "BE1500 Cuin2 q q mat". vi, (10 Pointc) Uwe Matlab subplot command to cre ite thiree sepwate plots in one figure for the generated theee vecters y1, y and y3 tram (im), if your student 10 ends with an even numbec, the three plots will be mtanhed in three roms qad one columin; and if your student ID ends with an odd number, the three plots wil be arranged in one tow and three calumes. - Each plot should include appropeiate tale Fepely is is y1; y2, or y3, no neend to have detall description of the furctiome). - All three plots use solid line, bet they are in sitferment colors. No markers are needed.