Running MSC process in MATLAB
조회 수: 7 (최근 30일)
이전 댓글 표시
I am very new to Matlab, and do not have much experience using any sort of statistical computing software. I have been trying to run msc.m on a few data tables that I have, and haven't a clue how to input the data. Basically, my data is in a chart that has x values in the first column, then there are 15 samples in the 15 adjacent columns that would represent the Y values.
The program looks like this:
function [x_msc]=msc(x,xref)
% Multiplicative Scatter Correction
%
% [x_msc]=msc(x,xref)
%
% input
% x (samples x variables) spectra to correct
% xref (1 x variables) reference spectra (in general mean(x) is used)
%
% Output
% x_msc (samples x variables) corrected spectra
%
% By Cleiton A. Nunes % UFLA,MG,Brazil
The file is in a csv format and I thought all i needed to type was msc('filename.csv') but it keeps on telling me there are not enough input arguments.
Any help would be greatly appreciated.
Cheers!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!