You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[x1, x2, x3,...] = vect2var(X) create variables x1, x2, x3... from the vector X in the current workspace such as x1 = X(1), x2 = X(2),
x3 = X(3)...
vect2var is usefull with the optimization toolbox in which unknown
variables can be grouped into a single row vector. vect2var allows
the use of common names for variables with a minimum waste of time.
Example :
X = [3E5 20 5 0.898];
[b f jh ws] = vect2var(X)
Returns :
b =
300000
f =
20
jh =
5
ws =
0.8980
Cite As
Christophe Meille (2026). vect2var (https://www.mathworks.com/matlabcentral/fileexchange/9088-vect2var), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (797 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
