This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% CODED BY GALINA STRELTSOVA | |
% | |
% REGRESSION ANALYSIS OF DATA USING 2 DIFFERENT IMPLEMENTATIONS OF LINEAR | |
% REGRESSION, PRINCIPAL COMPONENT ANALYSIS DIMENSIONALITY REDUCTION, | |
% PRINCIPAL COMPONENT ANALYSIS REGRESSION AND PARTIAL LEAST SQUARES | |
% REGRESSION. THESE METHODS ARE COMPARED USING PLOTS, WHICH REPRESENT | |
% CORRESPONDING RESIDUALS OF THE DATA TO FIND OUT WHICH TYPE OF REGRESSION | |
% WORKS BETTER FOR US. ANALYSIS IS PERFORMED USING MOST POPULAR AND COMMON | |
% ALGORITHMS OF REGRESSION | |
% |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% POLNEWTON Calcola i coefficienti del polinomio interpolatore | |
% utilizzando la forma di Newton con le differenze | |
% divise | |
% | |
% Uso: | |
% c = polnewton (x,y) | |
% | |
% Dati di ingresso: | |
% x vettore dei nodi | |
% y vettore dei valori della funzione da interpolare nei nodi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear all; | |
Fs=32768; | |
x =linspace(0,1,Fs); | |
y=sin(2*pi*0.133*Fs*x)/2 + sin(2*pi*sqrt(2)/10*Fs*x)/2; | |
sygnal_widmo(y,'przed'); | |
y2 = y * 10; | |
y2 = ceil(y2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Resources; | |
class MyClass : Form { | |
MyClass() { | |
// Stuff | |
ResourceManager resources = new ResourceManager("AssemblyName.ResourceFile", GetType().Assembly); | |
this.Icon = ((System.Drawing.Icon)(resources.GetObject("ResourceName"))); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using NUnit.Framework; | |
namespace MyProject | |
{ | |
[TestFixture] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Author: John Carruthers ([email protected]) | |
// | |
// Copyright (C) 2014 John Carruthers | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining | |
// a copy of this software and associated documentation files (the | |
// "Software"), to deal in the Software without restriction, including | |
// without limitation the rights to use, copy, modify, merge, publish, | |
// distribute, sublicense, and/or sell copies of the Software, and to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Reflection; | |
using System.Security.Permissions; | |
[assembly:AssemblyVersionAttribute("1.0.2000.0")] | |
public class Metadata | |
{ | |
private int factor; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r @"..\packages\FAKE.2.15.4\tools\FakeLib.dll" | |
open System | |
open Fake | |
open Fake.FileSystemHelper | |
open System.Diagnostics | |
let baseDir = __SOURCE_DIRECTORY__ | |
let targetPlatform = "net-4.5" | |
let nunitPath = @"C:\Program Files (x86)\NUnit 2.6.3\bin" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#r "System.Xml.Linq" | |
open System | |
open System.IO | |
open System.Xml.Linq | |
let script = seq { | |
//TODO: this currently loads fsproj's in alphabeticall order, we should instead | |
//build the dependencies graph of the fsproj's and load them in topological sort order |