Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Design a GUI to calculate capacitance

2 vues (au cours des 30 derniers jours)
Ye Ken Kok
Ye Ken Kok le 22 Mai 2022
Clôturé : Cris LaPierre le 22 Mai 2022
I need to design a GUI that allows the user to select the resistance value from a drop down menu with 4 choices, which are 1k, 2k, 3k, and 4k. Then the user is required to input the cutoff frequency and the GUI should display the capacitance value.
I want to program it such that when I click a button 'CALCULATE', the program will take the selection from the drop down menu such that if index value is 1, the resistance is set to be 1000 and etc. Then it takes the frequency value and calculate the capacitance using the formula f = 1/2πRC. How should I do it?
The GUI that I have designed looks like this
  2 commentaires
Walter Roberson
Walter Roberson le 22 Mai 2022
Okay, what is your question?
Also, are you using GUIDE or App Designer ?
Ye Ken Kok
Ye Ken Kok le 22 Mai 2022
This is the question given to me
And I am using App Designer

Réponses (0)

Cette question est clôturée.

Produits


Version

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by