Iam trying to copy data from any array/vector into another array but on different indexes.
But I receive error"array dimension dont match". My code is attached below.
Solved! Go to Solution.
The error may have several causes, among which the lengths of the vectors Socket, signal and Sum, and the values of packet_len and L.
If you can, please attach the Mathcad sheet.
Why do you repeatedly set x equal to 6 in the for-loops?
I don't think you uploaded the right file. The line in the file, corresponding to ste <- correl(Socket, Sum) above, actually has ste <- correl(socket, signal)
Thanks for your reply. Ya I mixed the file.
But I have corrected the fault, the problem is now that it is showing right answer and everything working fine
but all the loop is turned red and there is an error shown "mpl_exception" . How can I turn i back to black instead of red.
Delete the = sign to the top right of the routine. Instead, put time_err:= the routine on the left (ie assign the output to a variable), then display time_err below the routine (ie put time_err= below) in order to see the results.