Hello long feifei,
As per my understanding, you want to enter the expression required for “YData” in the data property in MATLAB's inspector.
Please note that to enter the expression required for `YData` in the data property using MATLAB's inspector, you can follow these steps:
1. Open the figure in which you want to modify the `YData` property.
2. Select the desired object (e.g., line, scatter plot, etc.) for which you want to set or modify the `YData` property.
3. Right-click on the selected object and choose "Properties" from the context menu. This will open the Property Inspector.
4. In the Property Inspector, locate the "Data" property. This property contains the `XData` and `YData` values for the selected object.
5. Click on the "..." button next to the `YData` field. This will open the "Enter expression" dialog box.
6. In the "Enter expression" dialog box, you can enter the desired expression for the `YData` property. You can use MATLAB's syntax and functions to define the expression.
7. After entering the expression, click the "OK" button to close the dialog box.
8. Finally, click the "Apply" button in the Property Inspector to apply the changes to the selected object.
Make sure to use valid MATLAB syntax and functions when entering the expression for `YData`. This allows you to perform calculations or use variables to define the values dynamically.
I hope it helps.