Filter löschen
Filter löschen

How to Log10 X and Y

3 Ansichten (letzte 30 Tage)
Rachel Trent
Rachel Trent am 1 Mai 2020
Kommentiert: Rachel Trent am 2 Mai 2020
I'm trying to log10 x = [ 1 2 3 4] and y = [5 7 9 9]. I got the log10 for x, but for some reason I can't get y. I used y = log10(x). Thank you in advance.
I have x = [ 1 2 3 4 ]
y = [ 5 7 9 9 ]
Im trying to get the log10 for these. How do I do that?
  1 Kommentar
James Tursa
James Tursa am 1 Mai 2020
I don't understand your question. Can you elaborate?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Prasad Reddy
Prasad Reddy am 1 Mai 2020
Bearbeitet: darova am 1 Mai 2020
clc
clear all
x=[1 2 3 4]
y=[5 7 9 9]
log10(x)
log10(y)
this code worked well.
Your question is littel bit concusing. It is not clear.
Do you mean that if we apply log10(x) we should get y ??
the valurswhich are stored in y are not the log10(x) values.
observe that y is having two 9's. you cant get the same value for both 3 and 4.
I think this must clear your doubt.if not please specify the question more clearely.
give up thumb if this answer works. Thank you.
  1 Kommentar
Rachel Trent
Rachel Trent am 2 Mai 2020
This was exactly what I was looking for. I just needed to know how to log10 x and y. Thank you!!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Exponents and Logarithms finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by