Community Profile

James Cai

Texas A&M University

7 total contributions since 2018

James Cai's Badges

View details...

Contributions in
View by

Answered
Replace the first row of the matrix with zeros.
A(1, :) = 0

ungefär en månad ago | 0

Solved

Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

4 månader ago

Solved

What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

4 månader ago

Solved

Euclidean inter-point distance matrix
The Euclidean distance between two points in a p-dimensional space is a really common thing to compute in the field of computati...

4 månader ago

Solved

inner product of two vectors
inner product of two vectors

ungefär ett år ago

Answered
How to compare the output of PCA analysis?
http://freesourcecode.net/matlabprojects/57085/pca-similarity-factor-in-matlab#.WsZ4QYjwaUk

ungefär 2 år ago | 0

Answered
Pairwise difference between values of a vector
Nowadays, dv = abs(v-v') returns the absolute pairwise differences.

mer än 2 år ago | 1