Log in

No account? Create an account

Previous Entry | Next Entry

Nov. 10th, 2013

Programming is not for me, apparently.

We are supposed to do some pretty simple exercises as part of the Masters program, and while I can solve the problems myself (we are actually allowed to look up solutions anywhere as long as we understand them and can tweak them after that), it is a very low and torturous process. No wonder because I am not familiar with the program and the language (MatLab), but it's more like my brain shuts down after a while. It does not get tired as it does when I am translating (which gets easier after a while), it just stops, and tells me it does not want to be catching those fleas anymore. And I do not feel accomplished when finally getting to the end of an exercise, either, more like relieved it is over. Yeah, whatever.


Программирование не для меня, видимо.

Мы должны решить несколько довольно простых задачек в магистратуре, и я могу их решить самостоятельно (разрешают сдуть откуда угодно, если поймёшь, как сделано и сумеешь поиграться с результатом потом), но очень медленно, и с очень большим скрипом. Конечно, я незнакома с искомой средой программирования (MatLab), но плюс к этому ещё и мозг через какое-то время перестаёт работать. Не устаёт, как при переводе, и через какое-то время начинает работать лучше, а выключается, приговаривая, "отстань от меня со своими блохами". И удовольствия готовое упражнение тоже особого не доставляет, скорее облегчение, что не надо больше копаться в кишках кода. Ну и фиг с ним.


( 5 comments — Leave a comment )
Nov. 11th, 2013 12:09 pm (UTC)
I know Matlab, if you need any help :-)
Nov. 11th, 2013 07:16 pm (UTC)
Ah, thank you, that's very nice :).

And I do have a couple of questions. Sorry if I formulate them badly.

1. If I need to work with several files with data at once, which are called the same, data1, data2... and which are in the same folder, is it possible to upload them into MatLab using a cycle?
Something like
for I = 1:n
"upload" dataI "into" MatLabDataI

(I know how to upload, the middle line is merely an illustration.)

2. Is it possible to close previously opened Figure windows with every new "run" of a script? It's annoying to have to do this manually while straightening the code.
Nov. 12th, 2013 11:51 am (UTC)
I don't have Matlab at this computer, so I cannot test anything, but off the top of my head..

1) What type of files are they? .txt?

2) Have you tried adding "close" or "close all" at the begining of your script?

Nov. 14th, 2013 08:15 pm (UTC)
1. They are all text files, either .txt or .dat, all with the same extension.

2. It works, thank you :).

Nov. 14th, 2013 08:41 pm (UTC)
( 5 comments — Leave a comment )

Latest Month

November 2017


Page Summary

Powered by LiveJournal.com