extract variables from string

let say,i have a string:
"Given P = 100 kpa, V = 2 litres, T = 273 K, R = 8.314 Solve for n."
how can i extract all variables in it?

1 Comment

As you stated yourself already, this is not a trivial task. It seems more effective to have the same discussion there, instead of splitting attention over the two threads.

Answers (0)

This question is closed.

Tags

Asked:

on 2 Feb 2022

Closed:

Rik
on 2 Feb 2022

Community Treasure Hunt

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

Start Hunting!