MATLAB How to formulate conjectures using matlab or any other program

  • Thread starter Thread starter rover
  • Start date Start date
  • Tags Tags
    Matlab Program
AI Thread Summary
The discussion centers on the challenge of formulating conjectures for numerical series using MATLAB, with the original poster seeking step-by-step guidance due to limited experience with the software. A response suggests that formulating conjectures can be achieved in MATLAB or any programming language, including spreadsheets. The responder offers a brief overview of how to set up a function in C++ to calculate terms of a sequence, indicating that programming knowledge is necessary for implementation. The conversation highlights the need for clear instructions and the potential complexity involved for those unfamiliar with programming.
rover
Hi,
I hope that I am posting my post in the right section!
I have been given many numerical series that i am supposed to investigate. A part of the investigation is the formulate conjectures for each of them. This is very time consuming part of my assignment . Therefore I would appreciate if anyone can tell me how to formulate conjectures on Matlab.

I have little experience using Matlab, so could you please give me step by step instructions!

Are there any other program that can formulate conjectures?

Thanks,
rover
:smile:
 
Physics news on Phys.org
If by "formulate conjectures" you mean setting up a program to show you the terms or the sum for a certain finite sequence, then you can do it in MATLAB or any other programming language. In fact, you can do it on a spreadsheet. It's been ten years since I used MATLAB (cool language, by the way), so I'm afraid I'm out of practice there.

Thinking about it, if you're not too familiar with programming, I'm not sure I can give you enough information here to do it. I say that in preface to:

In C++, you could put a relation to calculate the terms of your sequence into a function, say seq(n) where n is the term you want. (If you have a recursion relation, you may need to use two arguments, where one is the previous term in the sequence.) Then, all you need is a loop, say:

for (short iCounter = 1; iCounter <= 10; ++iCounter)
cout << "Term " << iCounter << " = " << seq(iCounter) << endl;

If that makes absolutely no sense at all, then I'm afraid there's not much I can do to help you.
 

Similar threads

Replies
2
Views
1K
Replies
3
Views
2K
Replies
4
Views
3K
Replies
5
Views
3K
Replies
3
Views
2K
Replies
1
Views
2K
Back
Top