필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Pleas tell me how to solve the Error in the Code?

조회 수: 1 (최근 30일)
Siyab Khan
Siyab Khan 2019년 3월 13일
마감: MATLAB Answer Bot 2021년 8월 20일
this given below is the code if Interior Search Algorith with Back propagation i want results like this
Epoch=1 Time=1.40838 MSE=0.80856 AC=0.80856
Epoch=2 Time=1.41838 MSE=0.81856 AC=0.82856
Epoch=3 Time=1.41838 MSE=0.81856 AC=0.82856
Epoch=4 Time=1.41838 MSE=0.81856 AC=0.82856
and so on but it gives results in a different way please help me and sort out this problem.
EDIT: very long code uploaded as a file
  댓글 수: 2
Stephen23
Stephen23 2019년 3월 13일
편집: Stephen23 2019년 3월 13일
@Siyab Khan: what is the purpose of these lines at the very start of your function?:
clc;
clear all;
close all
format long
Given that your function has no input arguments then its workspace is totally empty anyway, so clear all does nothing at all (except brutally clear all compiled functions from MATLAB's memory, which just slows down your code without any benefit when they get recompiled).
The format only needs to be set once: unless you are changing the format inside other functions or scripts that you are calling, then you might as well just call this once by hand and it will remain unchanged for that MATLAB session.
Siyab Khan
Siyab Khan 2019년 3월 13일
these are used to clear the previous history and start running the code again

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by