image thumbnail

updated almost 2 years ago

distributed radio net by Maxim Vedenyov

Maxim Vedenyov (view profile)

best routs found with dijkstra's algorithm (distributed net, ber, dijkstra)

ptha=dijkstra(C,w,nc)

test1_random_nodes.m

image thumbnail

updated 2 years ago

inuctancies for wire loops by Maxim Vedenyov

Maxim Vedenyov (view profile)

calculates self inductance and mutual inductance (inductance, mutual inductance, wire)

L=inductance_neuman(x1,y1,z1,x2,y2,z2)

L=self_inductance(x,y,r)

[xr yr]=squares_in_polygon(x,y,ss)

image thumbnail

updated 2 years ago

spin echo simulation by Maxim Vedenyov

Maxim Vedenyov (view profile)

NMR, 90,180 deg rotations (spin, echo, nmr)

h=create_3d_arrow(r,v,varargin)

w=update_3d_arrow(h,r,v,varargin)

test_res_many.m

image thumbnail

updated 2 years ago

Nuclear magnetic resonance simulation by Maxim Vedenyov

Maxim Vedenyov (view profile)

In classics approximation (nmr, nuclear, magnetic)

h=create_3d_arrow(r,v,varargin)

w=update_3d_arrow(h,r,v,varargin)

make_gif.m

image thumbnail

updated 2 years ago

video from random points by Maxim Vedenyov

Maxim Vedenyov (view profile)

probability controled by frames of video (rejection sampling, video, random)

from_gif.m

from_gif_to_avi.m

from_gif_to_gif.m

image thumbnail

updated 2 years ago

Plasticine simulation by Maxim Vedenyov

Maxim Vedenyov (view profile)

Plasticine circle by its own mass compressed on table. 2d (plasticine, simulation, 2d)

test1.m

test2.m

test3.m

image thumbnail

updated almost 3 years ago

Simplex and random rotation by Maxim Vedenyov

Maxim Vedenyov (view profile)

generates regular simpex cartesian coordinates (simplex, random rotation)

V=simplex(N)

an=random_unit_vector(varargin)

random_rotation.m

image thumbnail

updated almost 3 years ago

Waveform Generator GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

Generate waveformed signal and play it. Interactive GUI with movable datapoints. (waveform, gui, signal processing)

Waveform Generator GUI

bdf(ha,hfl,uf)

hfl=create_marker(ha,x,y,r,c,uf,no)

image thumbnail

updated almost 3 years ago

Flatulence sound generator by Maxim Vedenyov

Maxim Vedenyov (view profile)

sawtooth signal + High Pass filter = fun (fun hp sound)

run_me

interactive_curve

image thumbnail

updated almost 3 years ago

Mandelbrot set, animated zoom by Maxim Vedenyov

Maxim Vedenyov (view profile)

output: avi or gif (mandelbrot set, zoom, fractal)

hf=figure1

mandelbrot.m

mandelbrot2.m

image thumbnail

updated almost 3 years ago

Mandelbrot set, vectorized, simple by Maxim Vedenyov

Maxim Vedenyov (view profile)

done with meshgrid function and complex numbers (fractal, mandelbrot, set)

mandelbrot.m

image thumbnail

updated almost 3 years ago

Recaptcha audio recognition, 1-4 July 2012 by Maxim Vedenyov

Maxim Vedenyov (view profile)

Explaned how audio recaptcha was recognized. Time domain method. (dsp, sound, recaptcha)

[op sg sws]=find_optimums(s,dz,no)

op=find_maximums(s,dz,no)

test189_recognize3_many.m

image thumbnail

updated 3 years ago

vibrating string simulator by Maxim Vedenyov

Maxim Vedenyov (view profile)

Possible to set inital position, velocity, friction. (vibrating string, simulator, realtime)

a=to_limits_2(a,L1,L2)

add_to_buffer(src,eventdata,Fs,ao,pso)

audio_only(handles)

image thumbnail

updated 3 years ago

Waveform Generator GUI 2 by Maxim Vedenyov

Maxim Vedenyov (view profile)

Generate waveformed signal and play it. Interactive GUI with movable datapoints. (awg, waveform, dsp)

[a b]=calulate_harmonics(nh,T,x,y,cs,sn)

add_to_buffer(src,eventdata,Fs,ao,po,pso,ic)

open_device(po,Fs,ic,nblocks,margin)

image thumbnail

updated 3 years ago

Interactive curve class by Maxim Vedenyov

Maxim Vedenyov (view profile)

change curve by markers drag-and-drop (interactive, curve, interpolation)

example4(varargin)

ic=example3

interactive_curve

image thumbnail

updated 3 years ago

Equalizer, audioplayer, GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

Possible to change equalizer during playing (equalizer, eq, dsp)

[b a]=get_high_shelving_filter(g,Q,f,Fs)

[b a]=get_low_shelving_filter(g,Q,f,Fs)

[b a]=get_peak_filter(g,Q,f,Fs)

image thumbnail

updated 3 years ago

Nintendo game&watch Egg - EG 26 simulator by Maxim Vedenyov

Maxim Vedenyov (view profile)

Game a and game b simulated, with sound (nintendo, gamewatch, egg)

keyfig(src,evnt)

ns=score2simultanious(score,game_type)

orv_new=no_repeat(orv)

image thumbnail

updated 3 years ago

2d diffusion simulation, GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

points with random step each frame of time (diffusion, simulation, random walk)

run_me(varargin)

image thumbnail

updated 3 years ago

PI-controller for inverted pendulum by Maxim Vedenyov

Maxim Vedenyov (view profile)

animated, with derivation in jpg-image (pi, pid, controller)

test1.m

test1_movie.m

test1_movie_gif.m

image thumbnail

updated 3 years ago

Inverted pendulum with oscillated base by Maxim Vedenyov

Maxim Vedenyov (view profile)

aka Kapitsa's pendulum (animation, inverted pendulum, oscillated base)

test1.m

test1_movie.m

test1_movie_gif.m

image thumbnail

updated 3 years ago

How to think vector, tutorial by Maxim Vedenyov

Maxim Vedenyov (view profile)

no for loops logical indexing bsxfun (tutorial, think vector, think vectorized)

circle_for_loop.m

circle_vectorized_code.m

inside_circle_vectorized.m

image thumbnail

updated 3 years ago

solar system formation 2d by Maxim Vedenyov

Maxim Vedenyov (view profile)

2d balls with friction and gravitations (solar system, formation, 2d)

F=calulate_forcies(r,n,G,idm,al,v)

[id id2 nn]=invers_distancies(r,n)

[r v n]=delete_far_points(r,v,rmx,n)

image thumbnail

updated 3 years ago

find graph conected components by Maxim Vedenyov

Maxim Vedenyov (view profile)

[labels roots] = graph_connected_components(connection_matrix) (graph, connected components, breadthfirst search)

graph_connected_components(C)

zz_test_graph_connected_components.m

zz_test_graph_connected_components_picture.m

image thumbnail

updated 3 years ago

Computer plays Tetris by itself by Maxim Vedenyov

Maxim Vedenyov (view profile)

Some not perfect AI used. (tetris, ai, game)

[G nl dl]=delete_solid_line(G,nl)

[G ym]=put_block(G,bk,x)

[bk bkn]=random_block

image thumbnail

updated 3 years ago

Rose curves by Maxim Vedenyov

Maxim Vedenyov (view profile)

plots rose curves, rho=cos(k*theta), k is rational (rose, curve, rational)

rose_curves.m

image thumbnail

updated 3 years ago

sound compression by optimums by Maxim Vedenyov

Maxim Vedenyov (view profile)

compress and reconstruct, about 4 times copression for speech sound. (compress, mp3, psychoacoustic)

[op ismax]=find_all_optimums(s)

[z isrise]=find_zeros(s)

opa=decimate_optimums(z,op,opv)

image thumbnail

updated 3 years ago

3d balls dynamics by Maxim Vedenyov

Maxim Vedenyov (view profile)

Simulation of balls collisions. Balls are same. Elastic collisions. No gravity. (3d, balls, elastic collisions)

D=distances(r)

V=strikes_processing(r,V,dst2,trind,n1a,n2a,d2)

V=strikes_processing_2balls(r,V,dst2,trind,n1a,n2a,d2)

image thumbnail

updated 3 years ago

snake evolution, GP by Maxim Vedenyov

Maxim Vedenyov (view profile)

Genetic programing example at snake evolution simulation. (evolution, snake, simulation)

P=mutation(P,psz,prm,h,tt,nn,loe,Lc)

P=random_population(psz,h,tt,nn,loe,Lc)

P_new=crossover(P,ii,psz,htt)

image thumbnail

updated 3 years ago

find zeros, local maximums, loacal minimums by Maxim Vedenyov

Maxim Vedenyov (view profile)

3 functions: [z isrise]=find_zeros(s); mn=loacal_minimums(s); mx=loacal_maximums(s); (zero, root, local maximum)

[z isrise]=find_zeros(s)

op=loacal_maximums(s)

op=loacal_minimums(s)

image thumbnail

updated 3 years ago

find sequences by Maxim Vedenyov

Maxim Vedenyov (view profile)

Finds sequences of repeated elements in array (find, sequence, array)

[i1a i2a]=find_sequences(b,n)

image thumbnail

updated almost 4 years ago

Global tsunami simulation GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

It is wave equation on sphere surface. Land influence neglected. There are colormap and lands veiw. (tsunami, 2012, wave equation)

an=random_unit_vector(varargin)

button_clb(hObj,event,ht,topo,hs,hsl)

set_clb

image thumbnail

updated almost 4 years ago

sea level changer GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

change sea level and see how it change land shape (sea level, gui, land)

button_clb(hObj,event,ht,topo,hs,hsl)

slider_clb(hObj,event,ht,topo,hs)

deluge.m

image thumbnail

updated 4 years ago

point fall and plates by Maxim Vedenyov

Maxim Vedenyov (view profile)

point fall free and strike plates randomly distributed. (point fall plates gra...)

point_fall.m

point_fall_movie.m

point_fall_old.m

image thumbnail

updated 4 years ago

masses and rods move simulations by Maxim Vedenyov

Maxim Vedenyov (view profile)

animation, Lagrangian mechanics used (masses, rods, move)

zz_tmp_2.m

zz_tmp_2_movie_several.m

image thumbnail

updated 4 years ago

Travelling salesman problem with Genetic algorithm by Maxim Vedenyov

Maxim Vedenyov (view profile)

GUI and no GUI versions, with description in docx file (tsp, ga, travelling salesman p...)

gch=insert_begining_slow(g1,g2,cp)

gch=insert_begining_slow(g1,g2,cp)

ii=roulette_wheel_indexes(m,prn)

image thumbnail

updated 4 years ago

2d bin packing problem with genetic algorithm by Maxim Vedenyov

Maxim Vedenyov (view profile)

With mutations, crossover, ect. With animation (bin packing problem, genetic algorithm, mutation)

ii=roulette_wheel_indexes(m,prn)

ga_2d_box_packing.m

ga_2d_box_packing_movie.m

image thumbnail

updated 4 years ago

lagrangian mechanics, 2 points conected with rod by Maxim Vedenyov

Maxim Vedenyov (view profile)

with formulas in docx file (lagrangian, mechanics, rod)

zz_2_obj_lagrangian_test.m

image thumbnail

updated 4 years ago

speech drum machine by Maxim Vedenyov

Maxim Vedenyov (view profile)

record your sounds and play it in sequenser to get music. (drum machine, microphone, sound)

load_clb

pl

rec(yc)

image thumbnail

updated 4 years ago

Camouflage evolution simulation with Genetic algorithm by Maxim Vedenyov

Maxim Vedenyov (view profile)

4x4 images dissapear on background. (camouflage, evolution, simulation)

ii=roulette_wheel_indexes(m,prn)

camouflage_ga.m

camouflage_ga_avi.m

image thumbnail

updated 4 years ago

Reverberation GUI by Maxim Vedenyov

Maxim Vedenyov (view profile)

Add up to 5 echos to record from microphone (reverberation, echo, recodring)

pl

rec

step(n,dvl)

image thumbnail

updated 4 years ago

speech oscilloscope by Maxim Vedenyov

Maxim Vedenyov (view profile)

Synchronized continuous display of waveform of your speech from microphone. (speech, oscilloscope, microphose)

hpcb

lpcb

pau

image thumbnail

updated 4 years ago

2d liquid simulation by Maxim Vedenyov

Maxim Vedenyov (view profile)

in rectangle without air. (liquid, simulation, 2d)

[V,C,N]=prepare_cells(a,b,r)

liquid_2d_rectangle.m

liquid_2d_rectangle_gif.m

image thumbnail

updated 4 years ago

home made turntable by Maxim Vedenyov

Maxim Vedenyov (view profile)

Transforms mouse motion to sound to make scratch effect. (home made, turntable, scratch)

add_to_buffer

stp

run_me.m

image thumbnail

updated 4 years ago

potential flow by Maxim Vedenyov

Maxim Vedenyov (view profile)

Object can be drawn. Solve as electrostatic task. (potential flow, cfd, fluid dynamics)

P=perimeter(r,N)

get_na(varargin)

get_u_v(varargin)

image thumbnail

updated 4 years ago

honeycomb evolution by Maxim Vedenyov

Maxim Vedenyov (view profile)

get hexadron tessellation using random search (evolution, honeycomb, bee)

L=segment_rectange(a,b,r)

rcr=cross_perimeter(a,b,r)

honeycombs.m

image thumbnail

updated 4 years ago

Length of cross of segment and rectangle by Maxim Vedenyov

Maxim Vedenyov (view profile)

If segment is outside rectangle then return 0 (segment, cross, rectangle)

L=segment_rectange(a,b,r)

rcr=cross_perimeter(a,b,r)

zz_segment_rectange_test.m

image thumbnail

updated 4 years ago

minimize ratio perimeter/sqrt(area) of a random shape by Maxim Vedenyov

Maxim Vedenyov (view profile)

Random search used. Result is circle of cause. (polygone perimeter, minimal perimeter, fixed area)

P=perimeter(r,N)

minimal_perimeter.m

minimal_perimeter_avi.m

image thumbnail

updated 4 years ago

Spanning tree gui by Maxim Vedenyov

Maxim Vedenyov (view profile)

spanning tree for randomized nodes with range. (spanning tree, graph, breadthfirst search)

main(varargin)

randomize_clb(isrand)

image thumbnail

updated 4 years ago

self-made stroboscope with microphone by Maxim Vedenyov

Maxim Vedenyov (view profile)

GUI for the stoboscope. FFT spectrum, detect frequency, generate drive signal. (stroboscope, selfmade, string)

add_to_buffer

piece_processing

stroboscope(varargin)

image thumbnail

updated 4 years ago

Time-lapse walk by Maxim Vedenyov

Maxim Vedenyov (view profile)

Time-lapse walk, 10 sec video (timelapse, walk, mounting)

fast

key_pr

next

Contact us