Gistlib Logo

gistlib

kuinka matriisi tehdään in matlab

main.m
A = [1, 2, 3; 4, 5, 6; 7, 8, 9];
33 chars
2 lines

This code creates a 3x3 matrix in MATLAB with values from 1 to 9. Each row is separated by a semicolon ; and elements within each row are separated by a comma ,.

similar matlab code snippets

how to calculate the variance of a matrix in matlab
how to calculate the standard deviation of a matrix in matlab
how to calculate the fourth derivative of a function in matlab
how to calculate the sum of a matrix in matlab
how to calculate the median of a matrix in matlab
how to calculate the inverse of a matrix in matlab
average 2 matrices in matlab
how to calculate the fifth derivative of a function in matlab
how to calculate the mode of a matrix in matlab
how to calculate the mean of a matrix in matlab

related categories

matlab
matrix
syntax

gistlibby LogSnag