semilogx error, vectors must be same length
Mostra commenti meno recenti
Hi, I am trying to plot a graph with logarithmic scale with semilogx, however I have encountered problem using it.
I have checked that both Freq' and abs(Zexp01) are 31 by 24, so they are the same size. However I still encounter problem that says vectors must be the same size. May I know how to solve this?
Thank you!

Risposta accettata
Più risposte (1)
Sulaymon Eshkabilov
il 30 Dic 2022
Modificato: Sulaymon Eshkabilov
il 30 Dic 2022
Plot them like this way then by removing the transpose operation:
plot(freq, abs(Zexp01), '.')
1 Commento
Miles Hao Peng Su
il 30 Dic 2022
Categorie
Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!