Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I'm using MATLAB R2011a in my project, involving matrices of dimensions up to (70 × 20). I had good results, a time ago. Currently, poor results are generated using the very same code -(of good results)- with same parameters settings & relatively smaller matrices (30 × 20) !

I tried:

1. before running my code, at command line:

clear import;

pack;

2. inside my script, at the very beginning:

clear all; clear classes; clear java;

clearvars;

close all;

clc;

3. running the same code, on two different computers (that I was using).

Unfortunately, I ended up with the same poor results. It looks like the extensively repeatative code run (through my experiments), did some bad accumulation effect !

Other than clearing memory & variables space, is there another aspect/issue that needs my attention?

Appreciate your advice/help.

BR/

AMMforce

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# MATLAB program results discrepancy...

Loading...

Similar Threads for MATLAB program results |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB How to program this in Matlab |

MATLAB Does anyone had this plotting problem with MATLAB? |

**Physics Forums | Science Articles, Homework Help, Discussion**