Community Profile

# Brenden Epps

22 total contributions since 2012

Contributions in
View by

Submitted

MEM displays memory usage to the command window.
MEM displays memory usage to the command window.

Submitted

MINN(x) returns the overall minimum value of matrix x
MINN(x) returns the overall minimum value of matrix x

Submitted

disptime(T) displays time T in format: hr min sec
disptime(T) displays time T (given in seconds) in format: hr min sec

Submitted

fig executes: figure; hold on, box on, grid on,
fig executes: figure; hold on, box on, grid on,

Submitted

clr == clear all; close all; clc;
clr clears your workspace and command window, so you can start fresh.

Submitted

MAXABS(x) returns the maximum absolute value of x
MAXABS(x) returns the maximum absolute value of x

Submitted

MAXX(x) returns the overall maximum value of matrix x
MAXX(x) returns the overall maximum value of matrix x

Submitted

displaymat(X,m,n) displays the non-zero entries of X
displaymat(X,m,n) displays the non-zero entries of X.

Submitted

SUMM(X) returns the sum of all elements of X
SUMM(X) returns the sum of all elements of X

Submitted

roundn(x,n) returns x rounded to n digits.
roundn(x,n) returns x rounded to n digits.

Submitted

rms(x) returns the root mean square of vector x
rms(x) returns the root mean square of vector x

Submitted

rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms
rmsz(x) returns the root mean square of vector x, excluding the x = 0 terms

Submitted

rmszni(x) returns the root mean square of vector x, excluding the x = {0,NaN,+/-Inf} terms
rmszni(x) returns the root mean square of vector x, excluding the x = {0,NaN,+/-Inf} terms

Submitted

plotaxes(H,style) plots axes on figure H with the given style.
plotaxes(H,style) plots axes on figure H with the given style.

Submitted

FIG executes: figure; hold on, box on, grid on,
FIG executes: figure; hold on, box on, grid on,

Submitted

labelxy -- labels the X and Y axes "X" and "Y"
labelxy -- labels the X and Y axes "X" and "Y"

Submitted

labelxyz -- labels the (X,Y,Z) axes "X", "Y", and "Z".
labelxyz -- labels the (X,Y,Z) axes "X", "Y", and "Z".

Submitted

dfdxc(x,f) computes the first two derivatives of f(x)
dfdxc(x,f) computes derivatives df/dx and d^2f/dx^2 using a modified central difference formula.

Submitted

dispn(X,N) == displays matrix X to N digits of precision
DISPN(X,N) displays matrix X to N digits of precision.

Help displaying a formatted matrix to the command window
I have created a function called DISPN that answers this question. http://www.mathworks.com/matlabcentral/fileexchange/3702...

4 years ago | 0

| accepted

Question

Help displaying a formatted matrix to the command window
Hi all, this seems like a simple question, but sprintf(...) doesn't do the trick. Is there an EASY way to display a matrix in t...

4 years ago | 2 Answers | 0