how to use MATLAB to ignore the very small coefficient in a function ? For example, there is a function f = - 5.55112*10^(-16)*t^5 + t, how can I get f = t ?
Suppose the coefficient is a. Then you can add the following lines in your program:
if abs(a)
In simple way you can do it by rounding the result of your function calculation with Matlab functions like: round, ceil and so on
Here is an simple example: I define an ode45 function and call it : Function code After running it, we can see that Only state variables of the function can be stored in the workspace and...
02 March 2017 5,531 4 View
Homogeneous differential equation with constant coefficients?
07 August 2016 7,388 1 View
If I have a parameter name called ‘a’ in workspace,I want to call it as an input to a function module of my simulink.What statements should I use to achieve this goal? Please specify the process.
07 August 2016 1,611 3 View
I want to set up an Matlab function module to run an algorithm in Simulink.The inputs of this function require to be called from workspace. First, all the input variables of matlab function are in...
06 July 2016 7,029 4 View
First, all the input variables of function are in the workspace. Then, I enter the function in the command window like this and I can get the results: However, directly running in the m file ,...
06 July 2016 9,368 6 View
I have been searching for papers about channel aggregation algorithms, but...So can anybody recommend useful articles about it? Thanks!
03 April 2016 7,241 3 View
How to simulate spectrum aggregation in 802.11n ? Is there any MATLAB code about it ?
03 April 2016 733 0 View
I am not able to get good literature and the physics behind how first these grains and grain boundaries arises out of no where when we make a pellet to study its dielectric properties and then how...
07 August 2024 5,177 3 View
Why is the molecule's orientation with an electric field affect polarizability? Electrons are diffuse enough to be independent with respect to orientation and effect of electric field on...
03 August 2024 7,843 1 View
Is it possible to conduct a molecular dynamics simulation to see the effects of a specific carbohydrate on the structure of lipids (e.g., micelle structure)? I am a beginner in this field and plan...
03 August 2024 3,371 3 View
What is the cycling of matter through ecosystems and how energy drives the cycling of matter in photosynthesis and cellular respiration?
02 August 2024 9,518 2 View
I am using a windows system, what software I should use for hydration shell analysis with molecular dynamics?
02 August 2024 3,143 4 View
Can we patent a process flow diagram developed using a process simulator but no actual cases is carried out? For example consider a process for certain product manufacture where a new process flow...
31 July 2024 781 1 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
Dear All Gromacs User I would like to restart MD without using checkpint .cpt files? I heard there is a way for acheiveing this. Any input and sugegstions are most welcome. Thanking You Budheswar
29 July 2024 3,084 8 View
Dear Research Community I would like to invite Elctrical Engineering specialists to solve problems related to Ternary Algebra or tripple sets I have an algorithm that places in relation three...
28 July 2024 5,771 2 View
If I want to calculate molecular dynamics (Gromacs), do I first need to optimize the geometry of the molecule? For example, I first draw the molecule in Avogadro, and then what? I guess I can't...
28 July 2024 673 3 View