I am having trouble with my code. How can i make it work?

This is a part of my code and the error on command window.

Answers (1)

fi is a vector or a matrix. Use the debug tool to examine the values of fi and make sure that it is a scalar (size = [1 1]).

This question is closed.

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!