SlideShare a Scribd company logo
1 of 6
Download to read offline
See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/303987589
Import LTspice simulation results in Matlab
Research · June 2016
DOI: 10.13140/RG.2.1.4586.4569
CITATIONS
0
READS
3,979
All content following this page was uploaded by Aisha Alhammadi on 15 June 2016.
The user has requested enhancement of the downloaded file.
The following example shows the steps to import LTspice simulation results in Matlab
1. For example, build inverting amplifier; which consists of two resistors, their values 1k and
1Meg, amplifier of type LT1014A, 15V DC voltage supply, and 1mV AC voltage supply.
Fig. 1 The schematic of the circuit in LT spice.
2. After choosing Ac analysis and run your circuit to plot the output voltage versus the
frequency, the plotting window appears.
Fig. 2 The plot of the Vout/Vin versus the frequency.
3. Click on the title bar of the plot window then select FileExport. After that the following
window occurs. Choose the desired plot to be exported. In the File field, choose the location
where you want to save the exported file. It will be saved as .txt.
Fig. 3 The export window.
Figure 4 The exported file saved as .txt extension.
4. Open the .txt and remove the left parenthesis and the text from dB to right parenthesis, as
show below.
Fig. 5 The modified .txt file for making Matlab able to read the file.
5. Now, open Matlab and write the following code in the m-file.
Fig. 6 The m-file code.
6. The following plot appears in the Matlab
Fig. 7 Matlab plot.
* The reference
http://web02.gonzaga.edu/faculty/talarico/eeng304/ho/exportdata.pdf
View publication statsView publication stats

More Related Content

Similar to Import ltspice simulation results in matlab

All opam assignment2_main
All opam assignment2_mainAll opam assignment2_main
All opam assignment2_mainTeam-VLSI-ITMU
 
315925614 cadence-tutorial
315925614 cadence-tutorial315925614 cadence-tutorial
315925614 cadence-tutorialkhaalidkk
 
1.-Load-Flow-Analysis-User-Manual.pdf
1.-Load-Flow-Analysis-User-Manual.pdf1.-Load-Flow-Analysis-User-Manual.pdf
1.-Load-Flow-Analysis-User-Manual.pdfAkashPatel952635
 
tutorial_pscad.pptx
tutorial_pscad.pptxtutorial_pscad.pptx
tutorial_pscad.pptxdfddfdf5
 
OFFPIPE Assistant User Manual 2.0.3
OFFPIPE Assistant User Manual 2.0.3OFFPIPE Assistant User Manual 2.0.3
OFFPIPE Assistant User Manual 2.0.3OFFPIPE Assistant
 
Power System Modelling And Simulation Lab
Power System Modelling And Simulation LabPower System Modelling And Simulation Lab
Power System Modelling And Simulation LabSachin Airan
 
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxEELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxtoltonkendal
 
Electromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxElectromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxduongnn
 
PA Design Using Harmonic Balance Simulation With Only S-paramet
PA Design Using Harmonic Balance Simulation With Only S-parametPA Design Using Harmonic Balance Simulation With Only S-paramet
PA Design Using Harmonic Balance Simulation With Only S-parametIvan Boshnakov
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24Memo Love
 
Speed Control of Separately Excited DC Motor Using Chopper
Speed Control of Separately Excited DC Motor Using ChopperSpeed Control of Separately Excited DC Motor Using Chopper
Speed Control of Separately Excited DC Motor Using ChopperIRJET Journal
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16rafiya begum
 
Electric_Drives_FinalProj
Electric_Drives_FinalProjElectric_Drives_FinalProj
Electric_Drives_FinalProjSpencer Minder
 

Similar to Import ltspice simulation results in matlab (20)

WinSpice Tutorial 1
WinSpice Tutorial 1WinSpice Tutorial 1
WinSpice Tutorial 1
 
All opam assignment2_main
All opam assignment2_mainAll opam assignment2_main
All opam assignment2_main
 
315925614 cadence-tutorial
315925614 cadence-tutorial315925614 cadence-tutorial
315925614 cadence-tutorial
 
1.-Load-Flow-Analysis-User-Manual.pdf
1.-Load-Flow-Analysis-User-Manual.pdf1.-Load-Flow-Analysis-User-Manual.pdf
1.-Load-Flow-Analysis-User-Manual.pdf
 
tutorial_pscad.pptx
tutorial_pscad.pptxtutorial_pscad.pptx
tutorial_pscad.pptx
 
Ads
AdsAds
Ads
 
OFFPIPE Assistant User Manual 2.0.3
OFFPIPE Assistant User Manual 2.0.3OFFPIPE Assistant User Manual 2.0.3
OFFPIPE Assistant User Manual 2.0.3
 
Power System Modelling And Simulation Lab
Power System Modelling And Simulation LabPower System Modelling And Simulation Lab
Power System Modelling And Simulation Lab
 
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docxEELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
EELE 5331 Digital ASIC DesignLab ManualDr. Yushi Zhou.docx
 
Electromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptxElectromechanical_Systems_with_Simscape3e.pptx
Electromechanical_Systems_with_Simscape3e.pptx
 
PA Design Using Harmonic Balance Simulation With Only S-paramet
PA Design Using Harmonic Balance Simulation With Only S-parametPA Design Using Harmonic Balance Simulation With Only S-paramet
PA Design Using Harmonic Balance Simulation With Only S-paramet
 
mechatronics report
mechatronics reportmechatronics report
mechatronics report
 
3rd year vi sem ms lab
3rd year vi sem ms lab3rd year vi sem ms lab
3rd year vi sem ms lab
 
Electric Motorbike
Electric MotorbikeElectric Motorbike
Electric Motorbike
 
Ijetae 0312 24
Ijetae 0312 24Ijetae 0312 24
Ijetae 0312 24
 
Speed Control of Separately Excited DC Motor Using Chopper
Speed Control of Separately Excited DC Motor Using ChopperSpeed Control of Separately Excited DC Motor Using Chopper
Speed Control of Separately Excited DC Motor Using Chopper
 
ALSTOM – Micom
ALSTOM – MicomALSTOM – Micom
ALSTOM – Micom
 
Psms lab manual
Psms lab manualPsms lab manual
Psms lab manual
 
major project ppt 27-4-16
major project ppt 27-4-16major project ppt 27-4-16
major project ppt 27-4-16
 
Electric_Drives_FinalProj
Electric_Drives_FinalProjElectric_Drives_FinalProj
Electric_Drives_FinalProj
 

More from Hoopeer Hoopeer

Tektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeTektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeHoopeer Hoopeer
 
Low power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeLow power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeHoopeer Hoopeer
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Hoopeer Hoopeer
 
Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Hoopeer Hoopeer
 
233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete uploadHoopeer Hoopeer
 
435601093 s-parameter LTtspice
435601093 s-parameter LTtspice435601093 s-parameter LTtspice
435601093 s-parameter LTtspiceHoopeer Hoopeer
 
Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Hoopeer Hoopeer
 
Ki0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterKi0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterHoopeer Hoopeer
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)Hoopeer Hoopeer
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)Hoopeer Hoopeer
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Hoopeer Hoopeer
 
Performance of the classification algorithm
Performance of the classification algorithmPerformance of the classification algorithm
Performance of the classification algorithmHoopeer Hoopeer
 
Bardeen brattain and shockley
Bardeen brattain and shockleyBardeen brattain and shockley
Bardeen brattain and shockleyHoopeer Hoopeer
 

More from Hoopeer Hoopeer (20)

Symica
SymicaSymica
Symica
 
Gene's law
Gene's lawGene's law
Gene's law
 
Tektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscopeTektronix mdo3104 mixed domain oscilloscope
Tektronix mdo3104 mixed domain oscilloscope
 
Low power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpeLow power sar ad cs presented by pieter harpe
Low power sar ad cs presented by pieter harpe
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16
 
Step by step process of uploading presentation videos
Step by step process of uploading presentation videos Step by step process of uploading presentation videos
Step by step process of uploading presentation videos
 
233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload233466440 rg-major-project-final-complete upload
233466440 rg-major-project-final-complete upload
 
435601093 s-parameter LTtspice
435601093 s-parameter LTtspice435601093 s-parameter LTtspice
435601093 s-parameter LTtspice
 
Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...Influential and powerful professional electrical and electronics engineering ...
Influential and powerful professional electrical and electronics engineering ...
 
Ki0232 3 stage fm transmitter
Ki0232 3 stage fm transmitterKi0232 3 stage fm transmitter
Ki0232 3 stage fm transmitter
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)
 
Teager energy operator (teo)
Teager energy operator (teo)Teager energy operator (teo)
Teager energy operator (teo)
 
En physics
En physicsEn physics
En physics
 
Beautiful lectures
Beautiful lecturesBeautiful lectures
Beautiful lectures
 
Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16Cadence tutorial lab_2_f16
Cadence tutorial lab_2_f16
 
Performance of the classification algorithm
Performance of the classification algorithmPerformance of the classification algorithm
Performance of the classification algorithm
 
Electronics i ii razavi
Electronics i ii razaviElectronics i ii razavi
Electronics i ii razavi
 
Bardeen brattain and shockley
Bardeen brattain and shockleyBardeen brattain and shockley
Bardeen brattain and shockley
 
978 1-4615-6311-2 fm
978 1-4615-6311-2 fm978 1-4615-6311-2 fm
978 1-4615-6311-2 fm
 
William gilbert strange
William gilbert strangeWilliam gilbert strange
William gilbert strange
 

Recently uploaded

CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...tanu pandey
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

Import ltspice simulation results in matlab

  • 1. See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/303987589 Import LTspice simulation results in Matlab Research · June 2016 DOI: 10.13140/RG.2.1.4586.4569 CITATIONS 0 READS 3,979 All content following this page was uploaded by Aisha Alhammadi on 15 June 2016. The user has requested enhancement of the downloaded file.
  • 2. The following example shows the steps to import LTspice simulation results in Matlab 1. For example, build inverting amplifier; which consists of two resistors, their values 1k and 1Meg, amplifier of type LT1014A, 15V DC voltage supply, and 1mV AC voltage supply. Fig. 1 The schematic of the circuit in LT spice. 2. After choosing Ac analysis and run your circuit to plot the output voltage versus the frequency, the plotting window appears. Fig. 2 The plot of the Vout/Vin versus the frequency.
  • 3. 3. Click on the title bar of the plot window then select FileExport. After that the following window occurs. Choose the desired plot to be exported. In the File field, choose the location where you want to save the exported file. It will be saved as .txt. Fig. 3 The export window. Figure 4 The exported file saved as .txt extension.
  • 4. 4. Open the .txt and remove the left parenthesis and the text from dB to right parenthesis, as show below. Fig. 5 The modified .txt file for making Matlab able to read the file. 5. Now, open Matlab and write the following code in the m-file. Fig. 6 The m-file code.
  • 5. 6. The following plot appears in the Matlab Fig. 7 Matlab plot. * The reference http://web02.gonzaga.edu/faculty/talarico/eeng304/ho/exportdata.pdf
  • 6. View publication statsView publication stats