Skip to content

MATLAB scripts for NanoVNA vector network analyzer. Connect, save S2P, display Logmag, Smith chart and TDR step response

License

Notifications You must be signed in to change notification settings

qrp73/NanoVNA-MATLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language License

NanoVNA-MATLAB

MATLAB scripts for NanoVNA vector network analyzer. Connect, save S2P file and display Logmag, Smith chart and TDR step response

Overview

With these MATLAB scripts you can connect to your NanoVNA, execute commands, get S11 and S21 data, save it to S2P file and plot LOGMAG, SMITH chart and TDR step response. All can be done from MATLAB environment and it don't requires any external application.

Instructions

  1. Make sure NanoVNA COM port drivers are installed (see NanoVNA drivers section)
  2. Connect your NanoVNA before MATLAB start
  3. Start MATLAB and open nanovna.m script
  4. Enter correct COM port name (e.g. "COM3")
  5. Run the script

Please note, you're needs to connect NanoVNA before opening MATLAB.

Screenshots

screenshot

screenshot-tdr

NanoVNA drivers

If you don't have STM32 Virtual COM port driver, you can download it from st.com (registration required): https://my.st.com/content/ccc/resource/technical/software/driver/70/30/29/18/96/3e/4f/3b/stsw-stm32102.zip/files/stsw-stm32102.zip/jcr:content/translations/en.stsw-stm32102.zip

About

MATLAB scripts for NanoVNA vector network analyzer. Connect, save S2P, display Logmag, Smith chart and TDR step response

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages