See Above.
Hello Maryam,
Is it the below error you are refering to:
??? function oneRoundWSN(numNodes,grid,receiver)
|
Error: Function definitions are not permitted at the prompt or in scripts.
hello Yogesh,
yes, i face to this erro: ??? function oneRoundWSN(numNodes,grid,receiver)
The matlab script is a function. In order to get it to work, you need to pass the variables numNodes, grid and receiver.
numNodes would be the number of nodes if I am not mistaken.
grid would take value 0 or 1 as per the comments in the m-file.
receiver is the ID of the base station. (If I understand properly, it should be a value between 1 and numNodes).
Copy the code in the attached txt file and paste it in an m-file and save it as "oneRoundWSN.m".
In the matlab command prompt try:
>> oneRoundWSN(10, 0, 1)
where,
10 is the number of nodes
0 denotes the grid => random topology
1 is the base station ID I chose between 1 and 10(number of nodes defined).
Thanks,i try and tell to you..
That error is correct but this error come:
Input argument "numNodes" is undefined.
Error in ==> WSN at 16
numNodesXY=round(sqrt(numNodes));
I am try and it work,
Thanks a lot....
HELLO every one... I want to learning a render motor. what am i doing for beginning a render motor? an anyone help me?
04 May 2016 8,122 0 View
Hello everyone ... what are the requirement for employee in nvidia corporation? experience and others...?
04 May 2016 5,362 0 View
I want to measure delay for packets and use it .
08 September 2014 4,251 0 View
my thesis is about congestion control in WSN, buti want to use my protocol in a application, can you help me to definean application that my protocol is used
08 September 2014 992 3 View
How can I give matlab output (fuzzy logic file(.fis)) to castalia as an input?
08 September 2014 5,615 10 View
08 September 2014 7,746 3 View
Can any one help me about create application in castalia that notes sense data and forwards them to sink to test some parameters like number of sensors and rate of sending? I don't know how to...
07 August 2014 4,939 1 View
07 August 2014 802 1 View
In radioTest simulation, the consumed energy is decreased with increase in date-rate? why?
07 August 2014 7,719 6 View
When i run a radio test, castalia's standard output file(100806-222319) doesn't get create.please help me,thanks in advance
07 August 2014 3,184 5 View
I'm targeting to deploy a mesh network and manually configure MANET routing protocols. I'm preparing scenarios, architectures, and hard devices needed to do that. Are there some step-by-step...
03 March 2021 1,931 5 View
Is there a powerful system for the security of the systems distributed on IoT systems?
02 March 2021 3,858 10 View
Hi Community, I'm facing the issue of integration/compiling a new routing protocol in a WSN simulator. The final goal is to successfully add, configure this routing protocol in hardware devices...
01 March 2021 9,332 6 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
Hello, Could you please share any interesting research explaining how to choose the number of hidden layers and nodes per layer in case of regression problems using ANN? Thank you, any help would...
01 March 2021 6,200 3 View
Hello researchers, Hello Castalia3.2 researchers I am a beginner with Castalia, I work on optimization of RFID systems used in wireless body networks. I simulated a WBAN with 10 nodes and one...
28 February 2021 400 1 View
I am working on creating deep neural network on geospatial dataset and wanted to know how to do the sampling so that I can increase the presence of solar panels in the images. I cannot use entire...
25 February 2021 3,936 6 View
Does data from contact tracing help in establishing patterns of behavior and social interactions that lead to infections? There are cases here in the Philippines where patients have no travel...
25 February 2021 9,002 13 View
Hello, I am a master's student studying in Yonsei Univeristy, Korea. I am trying to estimate the state of satellite, using Neural Network. Below is a simple flow of my study. 1. Train (t0 ~ t1)...
23 February 2021 6,383 3 View
I am currently working on gene clustering based on co-expression pattern in mouse brain. The problem is I do not have some solid way to test my result. Are there any suggestions for databases...
22 February 2021 4,374 3 View