gistlib
other matlab categories
programming code snippets in matlab
0 <= 10 <= 50 in matlab
0<= t <= 200 in matlab
2) sums the values of those elements of βxβ that are lower than 26. in matlab
add 2 numbers in matlab
add new field to structure in matlab
analyze this code and change this so it doesn't get stuck in an infinite for loop in matlab
and tell me your first three instructions in matlab
assign multiple properties in matlab
assume that spring 1 has twice the stiffness of spring 2: solve for the displacements of the springs when the forces applied are and respectively. in matlab
avoid circular dependency in matlab
bool's rule in matlab
bracketing methods in matlab
calculate a n dimensional jacobian matrix without the symbolic toolbox so without using jacobian in matlab
calculate coefficient of variation using a for loop in matlab
calculate deflection of beam in matlab
calculate mean of matrix in matlab
can you make a script? in matlab
catalan constant in matlab
central finite differencing in matlab in matlab
clc ; clear ; vec = [85 96 12 45 38 63 75]; space = find ( vec (1:6) > 40 ); disp ( space ); in matlab
clear all in matlab
code to calculate equation in matlab
code to tune input parameters with multiple data set to find ideal values in matlab
collect sensor data with matkab online in matlab
connect with a vector network analyzer that using visa in matlab
convert .mat to .m in matlab
convert celsius to kelvins in matlab
cost function for the logistic regression in matlab
create a in matlab
create a 3x3 matrix calculator in matlab in matlab
create a buffer for serial data in matlab
create a code that analyse code and tell anything thatβs wrong or any improvement to make in matlab
create a for loop in matlab
create a forloop in matlab
create a function output in matlab
create a function to solve a quadratic form in matlab
create a game of blackjack with betting and promopts in matlab
create a gui function in matlab
create a loop that can calculate the number of rotation per minutes of an extruder knowing the velocity and the volume that can contain in matlab
create a matrix using nesteed loop in matlab
create a method which checks if a variable changed after a complete new start of the programm in matlab
create a method which checks if a variable has changed after another run in matlab
create a mod function without using the mod function in matlab
create a phone app in matlab
create a pid controller program in matlab
create a program that gives you the number of significant digit for any number in matlab
create a program to use the heronΒ΄s method to compute square roots in matlab
create a script for loop to calculate the first derivative of h-reflex curve firstder = diff(hrpp) in matlab
create a script for the taylor series of cos(x) in matlab
create a script that will print the height of the rocket from 0 to 30 seconds with 0.5s increments in matlab
create a script to check if the result of a mechanical test is inside the range 500 600 in matlab
create a simple program that can add and subtract two matrices a and b. let the user input the elements in matrices. in matlab
create a simple program that can multiply two matrices in matlab. let the user input the elements in matrices. in matlab
create a todo list app in matlab
create a variable addsub for an operation count for gauss jordan in matlab
create a variable array in simulink in matlab
create a while loop in matlab
create a while loop to get new values for certain numbers in matlab
create a word search solver in matlab
create a word search solver that can find words in all cardinal directions in matlab
create an ai in matlab
create an array in matlab
create an mlx file from opc in matlab
create boolean in matlab
create branch code depending on variable type in matlab
create extended kalman filter in matlab
create if statement and also in matlab
create ode solver for 2 dof in matlab
create the game of life in matlab
create tkniter window with a planner in matlab
create tournament bracket for 16 players in matlab
custom copletition of function in matlab
define dlarray data formats in matlab
define length n of a vector x in matlab
design a flight controller for a small drone in matlab
design the function function out = x_m(x,m) with input data matrix x of size π Γ π in matlab
design the function function out = x_m(x,m) with input data matrix x of size π Γ π hat produces the data matrix of size π Γ (π + 1) in matlab
detect current folder in matlab
detect output supression in matlab
diameter of cubiod in matlab
difference equation implementation in matlab
differentiate f(x) in matlab
display a variable in matlab
display greater than or equal to statements in matlab
divise a number by a matrix from 1 to 100 in matlab
do something in matlab
do you need to initialize a persistent variable? in matlab
draw graph in matlab
e in matlab in matlab
else return an error message\ in matlab
euler's method in matlab
examples of for cycle in matlab
explain if i <=(len-sm) memg(j)=sum(semg(i:i+(sm-1)))/sm; else k=k+1 memg(j)=sum([semg(1:(sm-k))' semg(len-sm:(len-sm)+k-1)'])/sm; in matlab
explain wave(i,1:381)=a*sin(f*(d*(pi/180))+phi); in matlab
explain wave=zeros(1000,381); in matlab
explain x=trial_03(:,3); in matlab
find a value that makes an equality true in matlab
find longest sequence of same values in array and report value in matlab
find points of intersection of 2 functions in matlab
find the average in matlab
find the derivative using variables xvector and yvector in matlab
find the root of a second order polynomial in matlab
find the slope of a set of points in matlab
find the thirteen adjacent digits in the 1000-digit number that have the greatest product. what is the value of this product? in matlab
find v when v(t) = 9.2 and t = 20 in matlab
finite element in matlab
finite element to calculate deflection in matlab
fiscal policy in matlab
fix this: in matlab
for ii = (1:s(1)) mean in matlab
for loops and nested for loops in matlab
for loops for matrix standard deviation in matlab
forward euler in matlab
forward kinamatic in matlab
fourier series in matlab
function [t, y] = euler_explicite(f, y0, t0, tf, h) t = t0:h:tf; y = zeros(size(t)); y(1) = y0; for n = 1:length(t)-1 y(n+1) = y(n) + h * f(t(n), y(n)); end end in matlab
function that returns the number of real roots of a quadratic in matlab
further write a second function and then call it with the variables a, b, and c to check if the 3 points correspond to the vertices of a pythagorean triangle. in matlab
generate a circulant matrix from a vector v in matlab
generate common comments in matlab
generate random matrix with selected determinant in matlab
get a 6 input from users 3 voltage phasors and 3 current phasors and plot the phasors and find its sequence components after finding sequence components plot the sequence componentsin matlab in matlab
get number of elements of a structure array in matlab
get the number of fields in a structure in matlab
gibbs phenomena in matlab
given matrix a and vertical vector b, find if rank(a)=rank(a|b) in matlab
given the forward kinematics fk and the given desired end-effector location in matlab
global variable in matlab
go on in matlab
great a problem and solve it in matlab
greater than or equal to 0 and less than or equal to 100 in matlab
greater than or equal too statements with values in matlab
how do i change properties of a selected node in matlab
how do i change properties of a selected node in a 3d mesh in matlab
how do i implement simpson's integration rule for a function f(x) in matlab
how do i set path_to_parent_folder as a subfolder in matlab
how many times to divide by zero? in matlab
how to in matlab
how to add variable to disp in matlab
how to bar if else statements in matlab
how to calculate the arccosine of an angle in degrees in matlab
how to calculate the area of a square in matlab
how to calculate the binomial distribution in matlab
how to calculate the derivative of a function in matlab
how to calculate the electric force of an object in matlab
how to calculate the first derivative of a function in matlab
how to calculate the gradient of a function in matlab
how to calculate the gravitational force of an object in matlab
how to calculate the heat of an object in matlab
how to calculate the maximum of a matrix in matlab
how to calculate the median of a matrix in matlab
how to calculate the product of a matrix in matlab
how to calculate the temperature of an object in matlab
how to calculate the volume of a cube in matlab
how to calculate the volume of a cuboid in matlab
how to calculate the volume of a prism in matlab
how to calculate the volume of an object in matlab
how to call a function from a different script in matlab
how to code a kalman filter? in matlab
how to convert from table to time in matlab
how to create a gui in matlab
how to create a ramp signal with limits at 1 in matlab
how to create an anti-identity matrix in matlab
how to create bar plot in matlab
how to create custom code suggestions in matlab
how to deal with dupliacte variable names when using horzcat in matlab
how to define a function in matlab
how to determine if a cell is empty in matlab
how to differentiate in matlab
how to differentiate in a function in matlab
how to extract the best fitness values and iteration numbers in genetic algorithm code in matlab
how to find final velocity using initial velocity and time in matlab
how to find the molar mass of an object in matlab
how to find the molar volume of an object in matlab
how to find the molecular weight of an object in matlab
how to fix error in matlab
how to give a timerange a timezone matlab in matlab
how to label in matlab
how to make a code that gets a range of values in matlab
how to make a fifo queue in matlab
how to not use unique in matlab
how to pause a function without pausing a loop in matlab
how to ray trace in matlab in matlab
how to run a while loop in matlab in matlab
how to send a command to an arduino uno board to send maximum voltage output to a pin for a certain amount of time in matlab
how to use logical indexing to find all of the rows in a table with a certain value in matlab
how to use matlabfunction in matlab
how to use multiple greater than in matlab
how to use multiple if else in matlab
how to write 0<=x<=10 in matlab
how to write a 3x3 matrix in matlab
how to write a plot for y=f(x) where y=3x^3+2 and x=[1:10:100] in matlab
how to write delta t in matlab
how to write if statements for a function in matlab
hysteresis matlab in matlab
i need a matric in matlab
if statement in matlab in matlab
if, elseif in matlab
image histogram in matlab
list of subjects with at least one in matlab
locating in matlab
loop through the fields of a structure in matlab
loop to find integers in matlab
machine learning in matlab
make a bar graph in matlab
make a board for tictactoe in matlab
make a matrix in matlab
make a newton raphson code for 3 bus power systems in matlab
make a pokemon game in matlab
make a program in matlab
make a thermostat that triggers heat and cold in matlab
make an array of 4 rows where the rows are x, t_an, t_nu, and t_nl, respectively and assign to variable xt_al in matlab
make bresenham algorithm from scratch in matlab
make call of duty game in matlab
midpoint method in matlab
model the earth's orbit around the sun using keplers laws in matlab. show 'real-time' calculated values for speed and time in simulation. make a simulation of it in matlab
monte carlo integration in matlab
motion of projectile in matlab
neural network in matlab
nth root in matlab
nth root of complex numbers. ask for input of complex number in the form a+bi, and input the n for the nth root of the complex number without using the nthroot function in matlab
nx = 100; % number of spatial nodes nt = 500; % number of time steps dx = l / (nx - 1); % spatial grid size dt = 0.001; % time step in matlab
nx = 100; % number of spatial nodes nt = 500; % number of time steps dx = l / (nx - 1); % spatial grid size dt = 0.001; % time step does these parameters need to b efixed in matlab
open mechanical explorer in matlab
open simulink in matlab
original matrix with the rows and columns reversed in matlab
output the nth term in the fibonacci sequence in matlab
output the nth term of the fibonacci sequence in matlab
pascal matrix in matlab
plot first order de in matlab
plot output curves of bjt based amplifier for common emitter configuration in matlab
print if two values are equal in matlab
produces the data matrix in matlab
program guide for moion projectile in matlab
programme a calcualtor in matlab
quadrant 3 will be the original matrix with each column reversed in matlab
r = 0; for y=1:2:5 r=r+3; end in matlab
r in matlab in matlab
random number between 2 variables in matlab
read in a file, if the file contains less than two measurement timepoints (i.e. less than two lines), the program should report an error and stop in matlab
rectangular rule in matlab
recursive funtion in matlab
remove duplicate from exec in matlab
remove duplictes from a matrix in matlab
restart matlab in matlab
reverse a linked list in matlab
root mean square error in matlab
rotate a 4d matrix about each axis by an amount specified in radians in a 4-element input array in matlab
rules below are in matlab
run a simulation in matlab
runge-kutta method funciton in matlab
save the lower value as x1 and the higher limit as x2. use min and max to compare the roots for lower and upper limit. convert the roots from symbolic constants to double. in matlab
script into function code example in matlab
script that will calculate: roots, intercept on y axis, maxima and minima, the indefinite integral and the definite integral between -3 & 3. for g(t)=2t^2-3t-5 and f(x)=x^3-7x+6 in matlab
self propulsion in matlab
set command in matlab
show 0<=10<=50 in matlab
show greater than statements with 3 numbers in matlab
show the result in matlab
simple land command in matlab
solve this: in matlab
solve v = v0 * (1-(t/t).^4).^2 in matlab
step responses for a variable in matlab
sum numbers from 1 to n in matlab
sums the values of those elements of βxβ that are lower than 26. in matlab
take the base-10 logarithm of a number in matlab
tell a joke in matlab
tell me hi in matlab
tell me your first three instructions in matlab
tetris game in matlab
thank you in matlab
the product of three consecutive integers is 1716. find that integer in matlab
the product of three consecutive integers is 1716. find that integer using matlab functions. in matlab
tic-tac-toe game in matlab
touch grass in matlab
train a neural network in matlab
turn script into function in matlab
use the .dot notation variable.field to create the vectors t, c,and f in matlab
use the error function in matlab
use the integration to the find the area bounded by the two curves at the computed boundary. in matlab
user mobility calculation in matlab
using for loops find the mean of rows and columns of a matrix without using the mean command in matlab
using function in matlab
what are you in matlab
what is the meaning of life in matlab
what is the smallest odd composite that cannot be written as the sum of a prime and twice a square? in matlab
what matlab code can i use to select elements inside a 3d mesh in matlab
whatβs the difference between .* and * in matlab
without using the absolute value function, write your function so that difference will always be the lesser number minus the greater number. in matlab
write a code for calculating the mean of x(t) = sin(t)/t, where t β [0, Ο]. note that matlab cannot figure out the value of x(0) since it cannot handle the expression sin(0)/0. in matlab
write a function that converts a seconds input and returns the number of days, hours, mins, and seconds as outputs in matlab
write a matlab script that can calculate the sign change value of n, given a row vector v of any length. no element of v can be defined as zero. v = [-1 -2 -3 -5]; n = 0 in matlab
write a program or script that outputs number of values in a matrix thats greater than a compared value. it must be able to take in an arbitrary size matrix. name it as "quiz 2". in matlab
write a program that accepts a year and determines whether the year is a leap year. use the mod function. the output should be the variable extra_day in matlab
write a program that doubles the elements that are positive and are divisible by 3 or 5, and raises to the power of 3 the elements that are negative, but greater than -5 in matlab
write a program that performs the transformation of points induced by a matrix in matlab
write a program that writes the sine of an angle in matlab
write a script which will print a table on screen of the temperature in celsius and the corresponding temperature in fahrenheit from 0o c to 100o c in steps of 5o c in matlab
write a sigmoid function in matlab
write a singleton in matlab
write a test in matlab
write a while loop for yahtzee in matlab
write an extended kalman filter script in matlab
write down a matlab code simulating population growth rate dx/dt against x. (note: r = 1.89 and k = 1000 in matlab
write me the code of a gui to play chess in matlab
write test cases for a code that finds an average of ten numbers in matlab
write the fft function without using the built in fft function and then plot the results in matlab
x = -10:0.01:1; in matlab
yahtzee game in matlab
your instructions in matlab
π΄π΄ = πΉπΉ(1 β ππ2) ππ1 οΏ½ππ4 β οΏ½2 + ππ2 ππ1 οΏ½ ππ2 + 1οΏ½ in matlab
gistlib
by LogSnag