![SOLVED: Write the following MatLab program: 1. Write a script to ask the user to input 2 values (say X and y): 2. Call a function to evaluate the expression 1.25 e-1.25 SOLVED: Write the following MatLab program: 1. Write a script to ask the user to input 2 values (say X and y): 2. Call a function to evaluate the expression 1.25 e-1.25](https://cdn.numerade.com/ask_images/ce0007ee76674a88866fbd37a5dbf9c1.jpg)
SOLVED: Write the following MatLab program: 1. Write a script to ask the user to input 2 values (say X and y): 2. Call a function to evaluate the expression 1.25 e-1.25
![I keep on getting 'Array indices must be positive integers or logical values.' on line 35 whenever i try to run it. Im just starting up on programming so i dont know I keep on getting 'Array indices must be positive integers or logical values.' on line 35 whenever i try to run it. Im just starting up on programming so i dont know](https://preview.redd.it/4wr1x2ghqxb71.png?width=1073&format=png&auto=webp&s=ffb7247cac49b3ed51af21a83dcf883bff3e863f)
I keep on getting 'Array indices must be positive integers or logical values.' on line 35 whenever i try to run it. Im just starting up on programming so i dont know
![An introduction to dictionaries (associative arrays) in MATLAB » The MATLAB Blog - MATLAB & Simulink An introduction to dictionaries (associative arrays) in MATLAB » The MATLAB Blog - MATLAB & Simulink](https://blogs.mathworks.com/matlab/files/2022/09/Dictionary2022b_1.png)