This question is closed. Reopen it to edit or answer.

extract variables from string

1 view (last 30 days)
ali hassan
ali hassan on 2 Feb 2022
Closed: Rik on 2 Feb 2022
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
Rik on 2 Feb 2022
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)


Community Treasure Hunt

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

Start Hunting!