[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572050-105":53,"doc-detail-572050-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","numpy-for-matlab-users-help-browsing-and-pythonmatlab-operatorfunction-reference","NumPy for MATLAB users - Help - Browsing and Python/MATLAB operator/function reference","","NumPy for MATLAB users help guide explaining how to access documentation interactively in MATLAB/Octave and Python. Covers using help, doc, lookfor, function and package discovery, plus session controls and command history. Provides reference-style descriptions of operators and common functions across both environments, including arithmetic, relational, logical, power, factorial, constants like pi and e, special values such as NaN/Inf, complex numbers, trigonometry, rounding, random number generation, and basic vector and sequence construction.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/numpy-for-matlab-users-help-browsing-and-pythonmatlab-operatorfunction-reference/572050/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/numpy-for-matlab-users-help-browsing-and-pythonmatlab-operatorfunction-reference/572050.png","ImageObject",442,249,{"name":88,"@type":89},"Adam","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-22","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"How can users browse NumPy documentation interactively in MATLAB/Octave and Python?","Question",{"text":109,"@type":110},"Use the help system and doc/info browsing commands in MATLAB/Octave, and use Python help with appropriate module or function queries. The guide also includes searching via lookfor to find relevant help files.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which kinds of operators are covered in this help reference?",{"text":114,"@type":110},"It lists arithmetic assignment and basic arithmetic operators, relational comparisons, logical operators (including element-wise and short-circuit forms where applicable), plus power and remainder behavior.",{"name":116,"@type":107,"acceptedAnswer":117},"Does the guide include numeric constants and special values?",{"text":118,"@type":110},"Yes. It documents mathematical constants like pi and e, and special floating-point values such as NaN and Inf, along with complex-number-related operations and parts.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572050,1792242439,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":25,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":47},1374404737137,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","NumPy for MATLAB users  \nHelp  \nMATLAB/Octave  \ndoc  \nhelp -i % browse with Info help help or doc doc  \nhelp plot  \nhelp splines or doc splines demo  \nPython  \nhelp ()  \nhelp  \nhelp ( plot) or ? plot help ( pylab)  \nDescription  \nBrowse help interactively  \nHelp on using help Help for a function  \nHelp for a toolbox/library package Demonstration examples  \nSearching available documentation  \nMATLAB/Octave Python Description  \nlookfor plot Search help files  \nhelp help () ; modules [ Numeric ] List available packages  \nwhich plot help ( plot) Locate functions  \nUsing interactively  \nMATLAB/Octave  \noctave -q TAB or M-?  \nfoo ( .m )  \nhistory  \ndiary on [ . . ] diary off exit or quit  \nPython  \ni python -pylab TAB  \nexecfile('[foo.py](foo.py) ') or run [foo.py](foo.py)[ ](foo.py)[hist -n](hist -n)  \nCTRL-D  \nCTRL-Z \\# windows sys .exit ()  \nDescription  \nStart session  \nAuto completion Run code from file Command history Save command history End session  \nOperators  \nMATLAB/Octave  \nhelp -  \nPython  \nDescription  \nHelp on operator syntax  \nArithmetic operators  \nMATLAB/Octave Python Description  \na= 1 ; b= 2 ; a= 1 ; b= 1 Assignment; defining a number  \na + b a + b or add ( a , b) Addition  \na - b a - b or subtract ( a , b) Subtraction  \na * b a * b or multiply ( a , b) Multiplication  \na / b a / b or divide ( a , b) Division  \na .^ b a ** b Power , $a^b$  \npower ( a , b)  \npow ( a , b)  \nrem ( a , b) a % b Remainder  \nremainder ( a , b)  \nfmod ( a , b)  \na+= 1 a+= b or add ( a , b , a ) In place operation to save array  \ncreation overhead  \nfactorial ( a ) Factorial , $n!$  \nRelational operators  \nMATLAB/Octave  \na == ba \u003C ba > ba \u003C= ba >= ba ~ = b  \nLogical operators  \nMATLAB/Octave  \na && ba || b  \na & b or and ( a , b) a | b or or ( a , b) xor ( a , b)  \n~ a or not ( a )  \n~ a or ! a  \nany ( a )  \nall ( a )  \nPython  \na == b or equal ( a , b)  \na \u003C b or less ( a , b)  \na > b or greater ( a , b) a \u003C= b or less_equal ( a , b)  \na >= b or greater_equal ( a , b) a != b or not_equal ( a , b)  \nDescription  \nEqual Less than Greater than  \nLess than or equal Greater than or equal Not Equal  \nPython  \na and ba or b  \nlogical_and ( a , b) or a and b logical_or ( a , b) or a or b  \nlogical_xor ( a , b)  \nlogical_ not ( a ) or not a  \nDescription  \nShort-circuit logical AND  \nShort-circuit logical OR Element-wise logical AND  \nElement-wise logical OR Logical EXCLUSIVE OR  \nLogical NOT  \nTrue if any element is nonzero True if all elements are nonzero  \nroot and logarithm  \nMATLAB/Octave  \nsq rt ( a ) log ( a )  \nlog10 ( a )  \nlog2 ( a ) exp ( a )  \nPython  \nmath . sq rt ( a )  \nmath . log ( a )  \nmath . log10 ( a )  \nmath . log ( a , 2)  \nmath .exp ( a )  \nDescription  \nSquare root  \nLogarithm , base $e$ (natural)  \nLogarithm , base 10  \nLogarithm , base 2 (binary) Exponential function  \nRound off  \nMATLAB/Octave  \nround ( a ) ce il ( a ) floor ( a ) fix ( a )  \nPython  \naround ( a ) or math . round ( a ) ce il ( a )  \nfloor ( a )  \nfix ( a )  \nDescription  \nRound  \nRound up  \nRound down  \nRound towards zero  \nMathematical constants  \nMATLAB/Octave Python Description  \npi math .pi $\\pi=3. 141592$  \nexp (1) math .e or math .exp (1) $e=2.718281$  \nMissing values; IEEE-754 floating point status flags  \nMATLAB/Octave  \nNaN Inf  \nComplex numbers  \nMATLAB/Octave  \ni  \nz = 3+4i abs ( z ) real ( z )  \nimag ( z )  \narg ( z )  \nconj ( z )  \nPython  \nnan  \ninf plus_inf minus_inf plus_zero minus_zero  \nPython  \nz = 1j  \nz = 3+4j or z = complex (3 ,4) abs (3+4j)  \nz . real  \nz . imag  \nz .conj () ; z .conjugate ()  \nDescription  \nNot a Number Infinity , $\\infty$  \nInfinity , $+\\infty$  \nInfinity , $-\\infty$ Plus zero , $+0$ Minus zero , $-0$  \nDescription  \nImaginary unit A complex number , $3+4i$ Absolute value (modulus)  \nReal part Imaginary part Argument Complex conjugate  \nTrigonometry  \nMATLAB/Octave  \natan ( a , b)  \nGenerate random numbers  \nMATLAB/Octave  \nPython  \natan2 (b , a )  \nhypot (x , y )  \nPython  \nDescription  \nArctangent , $\\arctan","cbCaiufM4rZE5VMU","https://ap.wps.com/l/cbCaiufM4rZE5VMU","pdf",201072,"English","# Help\n## Browsing documentation and session control\n## Operators and expressions\n## Functions: constants, complex numbers, math, random\n## Vectors, sequences, and concatenation","[{\"question\":\"How can users browse NumPy documentation interactively in MATLAB/Octave and Python?\",\"answer\":\"Use the help system and doc/info browsing commands in MATLAB/Octave, and use Python help with appropriate module or function queries. The guide also includes searching via lookfor to find relevant help files.\"},{\"question\":\"Which kinds of operators are covered in this help reference?\",\"answer\":\"It lists arithmetic assignment and basic arithmetic operators, relational comparisons, logical operators (including element-wise and short-circuit forms where applicable), plus power and remainder behavior.\"},{\"question\":\"Does the guide include numeric constants and special values?\",\"answer\":\"Yes. It documents mathematical constants like pi and e, and special floating-point values such as NaN and Inf, along with complex-number-related operations and parts.\"}]","NumPy for MATLAB users - Help - Browsing and Python/MATLAB operator/function reference | PDF",1791925258]