代码搜索:Matrices
找到约 3,616 项符合「Matrices」的源代码
代码结果 3,616
www.eeworm.com/read/296909/8072883
m sqrt.m
function r = sqrt(x)
% POSYNOMIAL/SQRT Implements square-root function for posynomials
% (it takes pointwise square-root for vectors and matrices).
%
r = x.^(0.5);
www.eeworm.com/read/296909/8072955
m sqrt.m
function r = sqrt(x)
% GPVAR/SQRT Implements square-root function for GP variables
% (it takes pointwise square-root for vectors and matrices).
%
r = x.^(0.5);
www.eeworm.com/read/296909/8073018
m sqrt.m
function r = sqrt(x)
% GPOSYNOMIAL/SQRT Implements square-root function for generalized posynomials
% (it takes pointwise square-root for vectors and matrices).
%
r = x.^(0.5);
www.eeworm.com/read/296909/8073058
m sqrt.m
function r = sqrt(x)
% MONOMIAL/SQRT Implements square-root function for monomials
% (it takes pointwise square-root for vectors and matrices).
%
r = x.^(0.5);
www.eeworm.com/read/331444/12827738
m factorial.m
%% RES = factorial(NUM)
%
% Factorial function that works on matrices (matlab's does not).
% EPS, 11/02
function res = factorial(num)
res = ones(size(num));
ind = find(num > 0);
if ( ~isempty(ind)
www.eeworm.com/read/331439/12828828
m inv.m
function R = inv(a)
% INV Inverse of a quaternion (matrix).
% (Quaternion overloading of standard Matlab function.)
%
% For a single quaternion, this function computes the inverse,
% that is the con
www.eeworm.com/read/140851/13058655
m plot_matrix.m
function plot_matrix(G, bw)
% PLOT_MATRIX Plot a 2D matrix as a grayscale image, and label the axes
%
% plot_matrix(M)
%
% For 0/1 matrices (eg. adjacency matrices), use
% plot_matrix(M,1)
if
www.eeworm.com/read/241396/13147531
asv t_jacobian.asv
function t_jacobian(quiet)
%T_JACOBIAN Numerical tests of partial derivative code.
% MATPOWER
% $Id: t_jacobian.m,v 1.2 2004/08/23 20:59:46 ray Exp $
% by Ray Zimmerman, PSERC Cornell
% Copy
www.eeworm.com/read/241396/13147559
m t_jacobian.m
function t_jacobian(quiet)
%T_JACOBIAN Numerical tests of partial derivative code.
% MATPOWER
% $Id: t_jacobian.m,v 1.2 2004/08/23 20:59:46 ray Exp $
% by Ray Zimmerman, PSERC Cornell
% Copy
www.eeworm.com/read/326135/13163419
m dftuv.m
function [U, V] = dftuv(M, N)
%DFTUV Computes meshgrid frequency matrices.
% [U, V] = DFTUV(M, N) computes meshgrid frequency matrices U and
% V. U and V are useful for computing frequency-dom