Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Event Ticketing System by PHPJabbers 1.0
JavaScript Framework Shield UI 1.7.24
Taxi dispatch system - CroplaTaxi 1.0
wolfSSL 3.9.6
CroplaChat - Buyer seller chat for marketplace website 1.3
Salesforce Marketing Cloud (ExactTarget) ODBC Driver (32/64 bit) 1.0
dotConnect for Bigcommerce 1.5
dotConnect for Magento 1.5
Magento 2 Multi Vendor Marketplace Module by Apptha 1.0
MLM HYIP SHOP Scripts 16
Zoho CRM ODBC Driver (32/64 bit) 1.0
dbForge Studio for SQL Server 5.2
Video Portal Script 1.0.2
XMLFox Visual Studio XML Editor 7.5.0
Car Rental Script by PHPJabbers 2.1
Top Code
Member Login by PHPJabbers 3.2
Hotel Management - Full Board Version 6.42
Simulink Support Package for Arduino Uno Hardware 1.0
Event Ticketing System by PHPJabbers 1.0
Bus Booking Script 1.0.4
CONVOLUTION IN MATLAB WITHOUT USING conv(x,h) 1.0
AJ Matrix Pro - Multi Level Marketing Software 1
Travel Booking script 1.0.4
Multilayer Perceptron Neural Network Model and Backpropagation Algorithm for Simulink 1.0
Planyo online reservation system module 6.x-1.8
MLM Software 1.0.2
Hotel Booking Script 1.0.4
Matlab program for calculating EUD-based NTCP and TCP in external beam radiotherapy 1.0
Motion Detection in a video 1.0
Simple Hill-Climbing 1.0
Top Rated
Video Portal Script 1.0.2
Trading Software 1.2.4
Taxi Pickr - Uber Clone Script 1.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
DB Backup Tool 1.0
dbForge Studio for SQL Server Express 5.0
Image Editor Using JavaFX 1.0
Sine Wave Using JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
Quick Maintenance and Backup for MS SQL 1.2.16.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Readymade MLM Software 2.02
MSPA 1.0
File ID: 83517






MSPA 1.0
Download MSPA 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
MSPA 1.0 Description
Description: The MATLAB function mspa is a mex interface function to the C function spa.c developed by National Renewable Energy Laboratory (NREL) for accurately computing the position of the sun on the sky.

The algorithm on which the reference implementation spa.c is based is described in the report "Solar position algorithm for solar radiation application" by Ibrahim Reda and Afshin Andreas, National Renewable Energy Laboratory (NREL) Technical report NREL/TP-560-34302, Revised January 2008.

The report is available from
http://rredc.nrel.gov/solar/codesandalgorithms/spa/
There is also a link from which the reference implementation spa.c and a corresponding spa.h file can be downloaded.

Once the zip-file in this submission is unpacked and the files spa.c and spa.h downloaded to the same directory, the mex interface function can be compiled with mex mspa.c spa.c

The calling syntax of mspa is
res = mspa( arg )
where arg is a column vector with 17 rows containing the arguments to the function spa.c, and res is a column vector containing the results of the function spa. The ordering of individual parameters in the argument follows the one described in the report, look at the file mspa_tester.m for details.

A valid argument arg can also hold multiple columns, i.e. it can be a 17 x n matrix where n > 1. If so, the result is also a matrix with equally many columns and each column of the result holds the result of the function spa evaluated for the corresponding column of the argument matrix.

License: Shareware

Related: Syntax, Column, Vector, arguments, Calling, mspac, Submission, Zipfile, Function

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 3



User Review for MSPA
- required fields
     

Please enter text on the image