Log10

Output the base 10 logarithm of the input (input > 0 required)

    Log10

Library

Blocks/Math

Description

This blocks computes the output y as the base 10 logarithm of the input u:

    y = log10( u );

An error occurs if the input u is zero or negative.

log10.png

Parameters

Log10_0

NameLabelDescriptionData TypeValid Values

mo_u

u

u

Structure

mo_u/fixed

fixed

Cell of scalars

true
false

mo_u/start

start

Cell of scalars

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

u

implicit

Connector of Real input signal

input

1

y

implicit

Connector of Real output signal

output

1