Skip to content
Advertisement

Tag: octave

Octave strcat ignores added spaces

Octave adds spaces with strcat In Octave I run these commands: I get this result: Instead of what I expected: strcat to me sounds like “concatenate strings”. A space is a valid character, so adding a space should be OK. Matlab has the same behaviour, so it’s probably intended. I find it counter intuitive. Does this behavior makes sense? Answer

How to suppress warnings in GNU octave

I am using Octave version 3.4.3, and I get this warning: I know why this warning occurs, I just want to make the warning not appear on screen when run. I know I can suppress ALL warnings by putting this command at the top of my octave program: Docs: https://octave.sourceforge.io/octave/function/warning.html But that disables all warnings which is bad form. How

Advertisement