image thumbnail

updated 6 months ago

Understand Bode Plot: Time and Freqeuency Domain GUI by Nassim Khaled

Understand Bode Plot: Time and Freqeuency Domain GUI (bode, timefrequencysimulati..., frequency)

Bode_Demo_Lab(varargin)

image thumbnail

updated 7 months ago

Latin Hypercube by Nassim Khaled

lhsdesign_modified generates latin hypercube samples (latin, hypercube, doe)

[X_scaled,X_normalized]=lhsdesign_modified(n,min_ranges_p...

image thumbnail

updated 10 months ago

Collision of Two Boxes by Nassim Khaled

Derive, code, draw, simulate and animate the physical problem. (virtual, reality, collision)

collision_of_two_boxes_Part1.m

collision_of_two_boxes_Part2.m

box_collision_anim_1_Part1.avi

image thumbnail

updated 1 year ago

Inverse of Normal Cumulative Distribution by Nassim Khaled

This is a simple example for finding the inverse normal cumulative distribution using Matlab & Excel (normal distribution, inverse normal distri..., norminv)

script.m

image thumbnail

updated 1 year ago

Simple Design and Dynamics Problem Using Simulink-Design of the seat by Nassim Khaled

This is a simple design problem using Simulink. It is suitable for Simulink beginners. (design, mass, spring)

seat_simulation

image thumbnail

updated 2 years ago

Vibration from frames by Nassim Khaled

this can be used to extract the frequency of a simple harmonic vibrations from frames (image, processing, vibration)

...

Frequency=vibration_from_images(FPS,base_name_of_frame,nb...

Y=line_detect_fct(Image)

image thumbnail

updated 2 years ago

Virtual Reality Recording by Nassim Khaled

This is a virtual reality recording created using simulink. (virtual, reality, model)

sea_scene_heading_control.avi

image thumbnail

updated 2 years ago

Gaussian-normally distributed random data by Nassim Khaled

it helps the user generate a normally distributed random set of data and then fit a Gaussian curve (gaussian, random, normal)

[mu,s,n,Data]=normrnd_normfit(MU,SIGMA,Length_Data,nb_bins)

image thumbnail

updated 3 years ago

rand_extended computes a random number in the interval [a,b] by Nassim Khaled

rand_extended computes a random number in the interval [a,b] (random, rand, normal)

M=rand_extended(a,b,n,m)

image thumbnail

updated 3 years ago

Draw two figures with separate x and y axis by Nassim Khaled

This script plots two sets of 1D data on the same figure. (data export, plot, axes)

figure_with_two_axis_with_same_grid(x1,y1,x2,y2,x_num_of_...

image thumbnail

updated 3 years ago

plane intersection by Nassim Khaled

It computes the intersection of two planes in space. (plane intersection, straight line, 3d)

[P,N,check]=plane_intersect(N1,A1,N2,A2)

image thumbnail

updated 3 years ago

Extract data from an existing .fig file by Nassim Khaled

Extract data from an existing matlab 2D or 3D figure (data, figure, x)

[xdata,ydata,zdata]=getfigdata(figure_name);

image thumbnail

updated 4 years ago

Derivative-based Optimization by Nassim Khaled

Derivative-based Optimization using The Gradient Descent (gradient, descent, minimum)

Gradient_Descent_maximum.m

Gradient_Descent_minimum.m

image thumbnail

updated 4 years ago

Position of a point and a straight line or segment by Nassim Khaled

It determines the relative position of a point with respect to a planar segment or st. line (position, point, straight line)

Pos=Position(A,B,C)

image thumbnail

updated 4 years ago

Mapping of angles from [-pi,pi] to [0,2*pi] by Nassim Khaled

This file contains a subsystem that performs a one-to-one mapping from [-pi,pi] to [0,2*pi]. (map, mapping, trigonometry)

angle_mapping

angle_mapping_example

image thumbnail

updated 4 years ago

crank-slider mechanism by Nassim Khaled

This m-script shows a simple simulation for the crank-slider mechanism of the piston. (crank, slider, piston)

crank_slider_animation.m

image thumbnail

updated almost 5 years ago

Sugeno-Takagi-like fuzzy controller by Nassim Khaled

This is a two input one output fuzzy controller. (sugeno, fuzzy, controller)

Read_ME.m

fuzzy_system_data.m

fuzzy_controller

image thumbnail

updated almost 5 years ago

simulink introduction video by Nassim Khaled

This is a video of an introduction crash course for simulink(the simulink file is included too) (video, simulink, introduction)

simple_closed_loop

simulink_intro.wmv

image thumbnail

updated 5 years ago

General Purpose Controller by Nassim Khaled

This is a general purpose controller that I have built using the Fuzzy Logic Rules. (controller, fuzzy logic, plant)

Read Me.m

fuzzy_lookup_example1

fuzzy_lookup_example2

image thumbnail

updated 5 years ago

saturation function by Nassim Khaled

This file contains an approximation of the saturation of a function between the values [-1,1]. (saturation, simulink, mfile)

a_out=satur(a_in)

sat_block

image thumbnail

updated 5 years ago

inside triangle by Nassim Khaled

inside_triangle is used to check if a point P is inside the triangle P1P2P3 or not. (triangle, plane, inside)

True=inside_triangle(P,P1,P2,P3);

image thumbnail

updated almost 6 years ago

gui calculator based on gaussian quadrature inegration by Nassim Khaled

gui calculator/integrator based on gaussian quadrature inegration (gui, calculator, integrator)

int_calculator(varargin)

image thumbnail

updated 6 years ago

gui_simulink_scope by Nassim Khaled

This file contains a guide_simulink_sfunction interface. It is a fairly easy and simple application. (simulink, gui, scope)

sfun(t,x,u,flag)

simulink_gui_interface(varargin)

simulink_scope

image thumbnail

updated 6 years ago

screen record by Nassim Khaled

Screen capture can be used to record any screen activity and output the recorded actions as video fi (video, screen, record)

screen_capture(movie_name,recording_time)

movie.avi

image thumbnail

updated 6 years ago

Grab 2D points by Nassim Khaled

This code is used to digitize 2d figures that you find in publications, journals, or simply scanned (scanned plots, grabb, click)

C=sort_first_column_permute_second(A);

Help_about_Nassim_Grabit(varargin)

Nassim_Grabit0(varargin)

image thumbnail

updated 6 years ago

simulink matrix element by Nassim Khaled

This block outputs a given element of a matrix defined by the raw and the column indices of the elem (linear algebra, matrix element, simulink)

matrix_element

image thumbnail

updated almost 7 years ago

determinant of a 3 by 3 matrix in simulink by Nassim Khaled

This code evaluates the determinant of a 3 by 3 matrix in simulink (linear algebra, determinant, 3 by 3)

Determinant_sim

image thumbnail

updated almost 7 years ago

straight line and plane intersection by Nassim Khaled

plane_line_intersect computes the intersection of a plane and a segment(or (straight line, plane intersection, 3d)

[I,check]=plane_line_intersect(n,V0,P0,P1)

image thumbnail

updated almost 9 years ago

click_fit by Nassim Khaled

You can now choose some arbitrary points by using the mouse, and fit a curve on the top of your ... (fit, click, curve)

[p]=click_fit(nb_data_pts,order_poly,xmin,xmax,ymin,ymax)

image thumbnail

updated 9 years ago

Movie from a Sequence of Images by Nassim Khaled

Creates an avi movie from a sequence of images. (application, movie, sequence)

Movie_from_frames(name,filetype,number_of_frames,display_...

MOVIES.avi

image thumbnail

updated 9 years ago

Intensity Adjust by Nassim Khaled

Extending the intensity limits of an image. (application, intensity adjust, intensity limits)

Image_out=Intensity_adjust(Image_in);

image thumbnail

updated 9 years ago

Combine Two Groups of Images by Nassim Khaled

Combines two groups of images in one new folder after croping them. (application, crop series of images)

b=croping(a,l);

c=overlap(a,b);

final;

Contact us