Wikipedia:Reference desk/Archives/Computing/2014 April 2

Computing desk
< April 1 << Mar | April | May >> April 3 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 2

edit

MOV with db as an operand

edit

I saw some assembly that had a line like this:mov [name] db 'John Smith'Would this be preprocessed by the assembler into something like

mov name, 'J'

mov name + 1, 'o'

...

mov name + 9, 'h'

? 75.75.42.89 (talk) 00:09, 2 April 2014 (UTC)[reply]

This is just a guess - (what assembler do you refer to?). "db 'John Smith'" sounds to me as though data bytes J o h n space S m i t h are being stored in (code?) memory and the move command is copying then to [name]. So I would expect it to be processed into "move name, codelocn", "mov name+1, codelocn+1", ... -- SGBailey (talk) 10:35, 2 April 2014 (UTC)[reply]
Here's another uninformed guess: what goes into [name] is a pointer to the 'J' in the code itself. —Tamfang (talk) 07:37, 3 April 2014 (UTC)[reply]

Matlab function

edit

Hello! Is there anybody who knows how can use Digital Filter in Matlab? I need an example of usage with it's Matlab code. Thanks in advance--Freshman404Talk 06:55, 2 April 2014 (UTC)[reply]

Try starting here: [[1]]. Mathworks also has excellent support staff, so if you get to details that aren't documented well or using it in an unusual situation try contacting them. Katie R (talk) 11:46, 2 April 2014 (UTC)[reply]
If the Miscellaneous desk doesn't end up being able to help you, you should try asking the computing desk. 50.43.167.233 (talk) 15:43, 2 April 2014 (UTC)[reply]
Thanks for your answer Katie, but I can't reach that link.(Access Denied, the full statement is: You don't have permission to access "http://www.mathworks.com/help/signal/digital-filter-design.html") --Freshman404Talk 15:52, 2 April 2014 (UTC)[reply]
If you have a valid MATLAB license, then you should be able to log in with your Mathworks account to get access. If you're a student, then the only access to the documentation may be through the help files installed on the computers with MATLAB. Open up the help window and search for digital filter. It should be the first hit if you have the DSP System Toolbox. There is also an example called "Practical Introduction to Digital Filter Design." Katie R (talk) 17:21, 2 April 2014 (UTC)[reply]
@Katie Ryan A: Yes, I've seen the help before, but that was too long and of course unusable for me. I would be glad if you provide another example-different from the one in the help- or explain it shortly.--Freshman404Talk 18:32, 2 April 2014 (UTC)[reply]
@Freshman404: I think you should be able to load that page. I have a copy of MATLAB that is only licensed when I use a VPN to connect to a university license server. I can load that page without any authentication. As for the help function: you need to learn how to use help functions if you ever want to learn any programming language. This is it's own separate skill from learning how to code, but arguably even more useful. You can't really break anything in MATLAB, even if you screw up your settings, you can always revert to factory defaults. So just play with it! I thought about pasting some sample code here, but you haven't really told us what you want to do. Digital filters are a huge topic, so feel free to ask a new question if you want help on a specific task. SemanticMantis (talk) 14:36, 3 April 2014 (UTC)[reply]
Oh, maybe you are not in the USA and Katie's link expects that? You can try to get into a support forum for your home country here [2]. SemanticMantis (talk) 15:10, 3 April 2014 (UTC)[reply]
The MATLAB and Simulink documentation is an incredible resource - I really don't think we can find a better reference. Mathworks also produces webinars, but I don't know if you will be able to access them. Without knowing more about your specific application, [[3]] and [[4]] seem like the best choices. If you're having trouble with the basics and you're a student, then I recommend speaking with your professor about it. If you're a professional, then contact your account manager (or general Mathworks support if you don't know yours) and they should be able to put you in touch with an app engineer or provide training materials. Katie R (talk) 15:55, 3 April 2014 (UTC)[reply]
@SemanticMantis:Thank you, I couldn't reach that page at that time ,but I saw that page later.
@Katie Ryan A:Thank you, but your links are about Digital Filter Design no Digital Filter. About asking Prof. or manager I should say that exactly he-my signal prof.- wants me to describe it with an example as an homework.
@Katie Ryan A and SemanticMantis: The exact question is: Study about Digital Filter and it's subtitles. Test all possible inputs and plot their graph. Describe the function and plot some possible conditions.--Freshman404Talk 17:51, 3 April 2014 (UTC)[reply]

Nickname

edit

What is the nickname of San Jose — Preceding unsigned comment added by 216.198.172.29 (talk) 15:58, 2 April 2014 (UTC)[reply]

Do you know the way to San Jose ? (Note that San Jose is the city name, located in the Santa Clara Valley.) StuRat (talk) 16:02, 2 April 2014 (UTC)[reply]
Not sure what this has to do with computing, but if you mean San Jose, California, according to the article its nicknames are S.J. and San Jo, but there are many other places called San José.--Shantavira|feed me 16:06, 2 April 2014 (UTC)[reply]
"SJ" is not so much a nickname as just an abbreviation. "San Jo" is essentially nonexistent in my experience; I wouldn't be surprised if it were a bad-faith addition to the article. "Silicon Valley" is not just San Jose and is not really even the region per se; it's the region as identified with an industry (compare Hollywood, not in the sense of the defined neighborhood, but in the sense of the SoCal film industry).
The only thing I can come up with that I'd really call a nickname for San Jose is "Valley of Heart's Delight". But I won't claim it's used much. --Trovatore (talk) 01:59, 3 April 2014 (UTC)[reply]
Click on my first link above to find out what is has to do with computers. StuRat (talk) 16:11, 2 April 2014 (UTC) [reply]
I thought San Jose was Sharks Territory... but it seems that sharks are migratory. Nimur (talk) 17:23, 2 April 2014 (UTC)[reply]