?

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), но плюс к этому ещё и мозг через какое-то время перестаёт работать. Не устаёт, как при переводе, и через какое-то время начинает работать лучше, а выключается, приговаривая, "отстань от меня со своими блохами". И удовольствия готовое упражнение тоже особого не доставляет, скорее облегчение, что не надо больше копаться в кишках кода. Ну и фиг с ним.

Comments

( 5 comments — Leave a comment )
it0376
Nov. 11th, 2013 12:09 pm (UTC)
I know Matlab, if you need any help :-)
kehlen_crow
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
end

(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.
it0376
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?

kehlen_crow
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 :).

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

Latest Month

November 2017
S M T W T F S
   1234
567891011
12131415161718
19202122232425
2627282930  

Tags

Page Summary

Powered by LiveJournal.com