image thumbnail

updated 27 days ago

Watchdog Timer and Counter for Simulink by Travis Wiens

Travis Wiens (view profile)

Triggers an error if simulations run too long or take too many time steps. (simulation, simulink, timer)

test_counter.slx

watchdoglib.slx

image thumbnail

updated 1 month ago

Gauges for SimMechanics by Travis Wiens

Travis Wiens (view profile)

Includes dial and bar gauges that can be used to display dynamic information on SimMechanics models. (visualization, gauge, simmechanics)

gaugesExample.slx

mechanicsGauges.slx

image thumbnail

updated 6 months ago

Radial Basis Function Network by Travis Wiens

Travis Wiens (view profile)

Simulates and trains Gaussian and polyharmonic spline radial basis function networks. (radial basis function, rbf for suren, radial basis function...)

rbf_integral(Xc,X1,X2,k_i,basisfunction)

rbfn_integral(Xc,X1,X2,W,k_i,basisfunction)

sim_rbf(Xc,X,W,k_i,basisfunction)

image thumbnail

updated almost 2 years ago

Brewing Calculators by Travis Wiens

Travis Wiens (view profile)

A number of functions for brewers. (beer, wine, brewing)

ABW=alcohol_by_weight_fix(OSG,FSG )

OG=brix_to_og( B )

P=SG_to_Plato( SG )

image thumbnail

updated 2 years ago

Graph Picker by Travis Wiens

Travis Wiens (view profile)

Helps digitize graph data from an image. (gui, digitizing, data import)

[X, Y, axis_data, im]=graph_picker( im )

overplot_example.m

image thumbnail

updated 2 years ago

Hydraulic System Comparison Gui by Travis Wiens

Travis Wiens (view profile)

Visualizes power losses and utilization for four common types of fluid power systems. (mechanical, engineering, gui)

hydSysCompareGui

image thumbnail

updated 5 years ago

Linear Regression with Errors in X and Y by Travis Wiens

Travis Wiens (view profile)

Calculates slope and intercept for linear regression of data with errors in X and Y. (mathematics, measurement, statistics)

ellipse(Xc,Yc,dX,dY,N_p)

york_fit(X,Y,sigma_X,sigma_Y, r)

demo_york.m

image thumbnail

updated 5 years ago

Complex Method of Optimization by Travis Wiens

Travis Wiens (view profile)

Implements the Complex Method of Constrained Optimization (optimization, nonlinear, constrained)

[fitness x]=fitness_function(x, opts)

[x_best, fit_best, x_pop, fit_pop stats]=complexmethod(fc...

example.m

image thumbnail

updated almost 6 years ago

Subsample Delay Estimation by Travis Wiens

Travis Wiens (view profile)

Demonstrates a number of methods of estimating the delay between two signals to subsample accuracy. (dsp, delay estimation, radar)

[e f_e G P]=zzb(s,n1,n2, f_s, D, N_calc)

[x_max y_max A]=crit_interp_p(y,x)

delay=delayest_3point(u2,u1,method,estimator,parameter);

image thumbnail

updated almost 6 years ago

Kasami Sequences, m-sequences, Linear Feedback Shift Registers by Travis Wiens

Travis Wiens (view profile)

LFSRs are used to generate sequences, including MLS and sets of Kasami sequences. (maximal length sequen..., mls, msequence)

kasami(m, feedback)

lfsr( feedback, start, N_points, f_decimate )

xc=xcorr_fft(x1,x2)

image thumbnail

updated almost 6 years ago

RBF Acoustic Tomography by Travis Wiens

Travis Wiens (view profile)

Recreate temperature and flow fields from acoustic time-of-flight data. (measurement, radial basis function, rbf)

Omegapsi=Omegapsi_rbf(Xc,X1,X2,k_i,c0,basisfunction)

Phi_int=rbf_integral(Xc,X1,X2,k_i,basisfunction)

[W phi]=train_rbf(X,Y,Xc,k_i,basisfunction)

image thumbnail

updated almost 6 years ago

Complex Optimization of a Recurrent Neural Network by Travis Wiens

Travis Wiens (view profile)

Shows how to use the complex method to optimize a black-box neural network model of a load-sensing h (fuzzy logic, neural networks, complex)

P=W_to_param(W,N_in);

W=params_to_W(P,N_in);

[W]=initializegnn_static(m,n,N_h,overlapfactor)

image thumbnail

updated almost 6 years ago

Thin Plate Spline Network with Radiohead Example by Travis Wiens

Travis Wiens (view profile)

Thin plate splines can be used to interpolate nonuniform data, such as the Radiohead dataset, which (approximation, interpolation, thin plate spline)

[a, xc]=train_thin_plate_spline(x,y)

y_hat=sim_thin_plate_spline(x,x_c,a);

tps_radiohead_example.m

image thumbnail

updated almost 6 years ago

Day Length by Travis Wiens

Travis Wiens (view profile)

Calculates the length of daylight for any day and latitude (sun, day, length)

[hours b]=day_length(Day,Latitude)

day_length_example.m

image thumbnail

updated almost 6 years ago

Peak Interpolation by Travis Wiens

Travis Wiens (view profile)

Estimates the location and magnitude of the peak of a continuous function between samples. (communications, mathematics, measurement)

[x_max y_max A]=crit_interp_g(y,x);

[x_max y_max A]=crit_interp_p(y,x)

example1.m

image thumbnail

updated almost 6 years ago

Fast Circular (Periodic) Cross Correlation by Travis Wiens

Travis Wiens (view profile)

A fast circular cross correlation algorithm for periodic signals, using the FFT. (correlation, cross correlation, dsp)

fcxcorr(u1,u2)

fcxcorr_example.m

fcxcorr_speed.m

image thumbnail

updated almost 7 years ago

Forest Reverb Generator by Travis Wiens

Travis Wiens (view profile)

Generates acoustic impulse response of a forest. (audio processing, video processing, forest)

[Y y]=mpf(Y_abs)

[gain_P gamma psi_m]=scatter_cyl(a, phi, f, N_m, c)

[y Y]=scatter_impulse(a,phi,F_s,N_fft,N_m,f_f, minphase,c)

Contact us