MATLAB Answers

How can I code the given representations to the labels? (Hats confused me a bit.)

1 view (last 30 days)
Hi, I need to state the given relations on two graphs in titles (the ones that are written below), x (omega) and y (y cap ej omega) labels but the representation of hat confused me. It is written that this can be provided with latex yet I don't know how to represent those fully by using latex and plotting those in italic. By the way, given relations are the representations of two different graphs. Consequenttly, how can I write those in titles, x and y labels, respectively?
Thanks in advance.

Accepted Answer

Ive J
Ive J on 12 Jan 2021
You can find full list of symbols/letter here. But for \hat{x} you can do as:
plot(1:10, 1:10, '.-')
title('$$\vert$$$$\hat{y}$$[n]$$\vert$$ vs n', 'Interpreter', 'latex')

More Answers (0)

Community Treasure Hunt

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

Start Hunting!