Warning: Integer operands are required for colon operator when used as index In test at 2
In main at 21
My code in test at 2===>> ps = ((size(particles,2)-1)/2)-2;
My code In main at 21 ===> pred(i,1) = test(net,x(i,:));
Thanks......
check the size of ps, and particles; put a break point on line 2 and 21 to check when the error pops up on execution. It simply means somethings wrong is happening at a place where you are using a colon operator directly or indirectly.
Also try 'dbstop if error'
http://matlab.izmiran.ru/help/techdoc/ref/dbstop.html
If you are still having trouble, please provide a complete listing of test.m and main.m.
@ Misra & @Wilson
Thanks.
Yes, It was related the size of ps, and particles.
I have been trying to figure out how to to generate a time series dataset for feedforward neural network.Let's say I want to simulate a time series dataset with lenght n and order m using...
06 July 2017 4,189 4 View
I have a recurrent ANN model with one recurrent neuron for time series forecasting and I use a sigmoid activation function for that which restrict the outputs between the range 0,1. Because of...
01 February 2017 2,035 9 View
I am doing time series forecasting using neural networks with multiple input and single output. My data have both trend and cyclical components, I use two neurons in hidden layer and one in output...
10 November 2016 722 13 View
where can i find time series data sets of "Australian beer consumption" ?
04 May 2016 5,202 0 View
When I tried to energy minimization my system, I got fatal error as below. Fatal error: Atomtype opls_116 not found Although I've already added this line: ; include water #include "oplsaa.ff/spc.itp" to [molecultype] directive in my topology.
16 June 2021 0 0 View
Hello, good day! I am trying to simulate similar bimorph piezoelectric harvester with below commands. However, the output power doesn't change with resistor value. Please help to find the reason. ET,10,CIRCU94,0 !SET UP RESISTOR R,1,100000 !RESISTANCE VALUE TYPE,10 !SET ELEMENT TYPE E,1,2 !CREATE RESISTOR BETWEEN NODES 1 AND 2 Thanks in advance Regards,
02 March 2021 0 0 View
Hello, I'm fairly new to ARENA and I have the following problem: I have two queues in which, in each queue, a different order type arrives (both having an arrival rate of exponential 10). Order...
02 March 2021 2,431 3 View
Hello, I have a mechanism where air rises due to convective flows. In this simulation, nothing is driving the air except this. I understand that the Boussinesq approximation only works for small...
02 March 2021 4,910 3 View
Actually, I am running cfd simulation for a heat exchanger which has two fluids one hot and other one is cold fluid. there is a solid domain between them, which I removed and instead I have used...
01 March 2021 9,537 2 View
I am working on roof joint and trying to simulate the behaviour in Abaqus. I am successful in running the model but the final graph does not follow the experimental curve in the negative direction...
01 March 2021 6,661 3 View
Hi In Molecular Dynamics Simulation, how do I make changes to the force field according to my protein? I got this error in the add-ion stage: Fatal error "./ amber99sb-ildn-HHH.ff / force...
01 March 2021 8,747 4 View