- Expert Mentors
- How it Works
- Become a Codementor
PhD, former university instructor and software engineer with 20 years of software development experience in MATLAB, Python, Java, C, and C++. Image Processing and Machine Learning are part of my all-balanced diet. Students get a 33% discount!
Incorrect graph when trying to plot z = x + y with MATLAB
Your syntax for generating the 3D coordinates is right. Your call to surf is incorrect. What you actually need to do is separate x, y and z into three...
MATLAB spending an incredible amount of time writing a relatively small matrix
Your call to zeros is incorrect. Looking at your code, D looks like a D x 2 array. However, your call of s = max(D,1) would actually generate another D x 2...
How can I find all the cells that have the same values in a multi-dimensional array in octave / matlab
Use bsxfun(MATLAB doc, Octave doc) and check to see if broadcasting the first slice is equal across all slices with a call to all(MATLAB doc, Octave doc): B...
Get input type 'char' in matlab functions
Use ischar. This checks to see if an input into this function is a character array, and reports true if it is and false otherwise. Take note that a single...
On-demand Marketplace for Software Developers
© Copyright 2017 Codementor