image thumbnail

updated 23 days ago

ismywiferight.zip by Vineet

This code gives an out put 'yes' regardless of the input. (input)

s=ismywiferight(z)

image thumbnail

updated 9 months ago

How To Store a List of Names by Masoud Ghanbari

Simple Tutorial that shows the way to store many of names and strings in MATLAB (list, name, store)

list.m

image thumbnail

updated 10 months ago

Root-Locus plot without using rlocus command by Masoud Ghanbari

This tutorial will show how to plot root locus map with out using rlocus command (rlocus, plot, symfun)

rootlocus.m

image thumbnail

updated 10 months ago

How To Convert A User Input String To A Function by Masoud Ghanbari

This tutorial will show how to convert user input string to a function which accepts variable. (string, function, input)

inputconvert.m

image thumbnail

updated 10 months ago

TXTMENU - Text-Based Menu List in Command Window With Prompt by Sky Sartorius

Displays a list of options in the command window, prompts the user, and returns the selection. (menu, ui, list)

txtmenu.m

image thumbnail

updated 1 year ago

easyparse by Jared

Easy-to-use interface for parsing function inputs in the form of parameter-value pairs. (parse, input, parameter value pairs)

easyparse(caller_varargin,allowed_names)

image thumbnail

updated 1 year ago

easydefaults by Jared

Easy-to-use interface for supplying default values for function inputs. (input, parameter value pairs, parse)

easydefaults(varargin)

image thumbnail

updated 2 years ago

getkey by Jos (10584)

Get a (single) keypress (v2.0, june 2012) (keypress, keyboard, input)

getkey(N,nonascii)

image thumbnail

updated 2 years ago

Read Text File Data by Akshaya Thippur

Read experimental float data from many .txt files. (file io, txt, text)

ReadTxtData(GenericFileName, varargin)

image thumbnail

updated 2 years ago

List Selection Dialog by Ivar Eskerud Smith

A dialog to select multiple strings from a set of specified strings. (list, selection, options)

listSelectionDialog(varargin)

image thumbnail

updated 2 years ago

GetKeyWait by Jos (10584)

Wait a certain time for a single keypress (v2.1, jan 2012). (keypress, kbhit, input)

getkeywait(m)

image thumbnail

updated 2 years ago

MOUSEINPUT_TIMEOUT by Gautam Vallabha

Captures continuous mouse movements with timeout (gui tools, example, input)

mouseinput_timeout(timeoutval, axesHandle)

image thumbnail

updated almost 3 years ago

Array sorting by satendra kumar

Program for Sorting of Array in Matlab (matlab, array, sorting)

[out]=Array_sort()

image thumbnail

updated 3 years ago

process_varargin by christie harper

utility to make setting and changing default values in a script easier (input, varargin, named arguments)

process_varargin(the_keys,default_values,varargin)

image thumbnail

updated 3 years ago

Line Data Extraction From Input File by Michael Chan

The objective is to illustrate the data sieving and categorization by field identifier. (data, fields, values)

cell2str(c,n,mode)

pickFieldsAndValuesSetFromFile( targetFile )

removeTagsEmptyLinesFromAlignmentFiles(lineSetMatrix, tag...

image thumbnail

updated almost 4 years ago

waitinput by Grzegorz Knor

WAITINPUT Prompt for user input, but no longer than t seconds. (input, getkey, keypress)

waitinput(prompt,t,s)

image thumbnail

updated 4 years ago

Set functions with multiple inputs by Oleg Komarov

Intersectm, ismemberm, setdiffm, setxorm, unionm with multiple inputs. Ex: intersectm(a,b,c,…). (intersect, ismember, setdiff)

EXAMPLES

intersectm(varargin)

ismemberm(varargin)

image thumbnail

updated 4 years ago

Removing Simulink's State Order Dependency (Example 3) by Dan Lluch

Explores how to leverage the 'Structure with Time' Simulink data format to alleviate ordering ... (simulink, state, order)

Example3.m

makestatestruct(mdl)

image thumbnail

updated 4 years ago

Create Bus Data for Models with Root-Level Bus Inputs by Mike Anthony

Convert a matrix of data into a Simulink.TsArray according to the root-level bus object definition. (data export, data import, simulink)

CreateTsArrayFromBusObject(top_bus, data, time, varargin)

image thumbnail

updated 4 years ago

UI library by Peter O'Connor

Library of user interface functions. (gui, input, figure)

F=UIlibrary

image thumbnail

updated 4 years ago

ReadNVT by Forrest Collman

Reads in a Neuralynx NVT Cheetah binary file into Matlab (neuralynx, cheetah, nvt)

[Data]=ReadNVT(fn)

image thumbnail

updated 5 years ago

External I/O and State Information Block by Roger Aarenstrup

This block generates an extra file during code generation containing external Inputs, outputs an (realtime workshop, embedded code, verification)

slblocks

model_info

image thumbnail

updated 5 years ago

Text input with default by Karl

Like Matlab's "input" function, but with a default that you can select by simply hitting Enter. (input, default, command line)

dinput(varargin)

image thumbnail

updated 5 years ago

get_yes_or_no by Phillip M. Feldman

Prompt user to provide a yes-or-no answer, with an optional default value. (input, yesorno, binary)

get_yes_or_no(prompt,default)

image thumbnail

updated 5 years ago

inp.m by Miroslav Balda

The function inp.m serves for keyboard input supported by default value (keyboard, input, default)

inp(prompt,deflt,form,nsp)

image thumbnail

updated 6 years ago

YESNO by Jos (10584)

let user choose between yes or no (yes, no, question)

yesno(m)

image thumbnail

updated 6 years ago

passcode by Elmar Tarajan

PASSCODE creates a modal dialog box that returns user password input like in usual Windows dialogs. (gui tools, example, passcode)

passcode.m

image thumbnail

updated 7 years ago

Frequency Plotting by Abhijit Navalekar

convenient way to plot frequency content (fft, plot, frequency)

userfft(input,varargin)

image thumbnail

updated 7 years ago

File I/O C S-function Example by Jarrod Rivituso

A simple C S-function which reads data from a file during simulation. (data import, data export, c)

filetest

image thumbnail

updated almost 8 years ago

scanfc by Peter Li

scanf rewritten to give cell arrray output (data import, data export, scanf)

scanfc.m

image thumbnail

updated 8 years ago

Floyd Shortest Path Routing by Weihuang Fu

find the shortest path from any node to any node in a network (shortest path routing, floyd, matrix)

[S, P]=FloydSPR(AdjMax)

image thumbnail

updated 9 years ago

linear block codes by Waqas Mansoor

A (6,3) block code example. (coding theory, information theory, wireless communicatio...)

y=linblkcode(x);

y=linblkcoderx(x)

image thumbnail

updated 10 years ago

Function Demo by wu dachuan

A small program of Function Demo. (function, demo, parameter)

hanshu(varargin)

image thumbnail

updated 10 years ago

GUI Array by Arsen Arakelyan

GUI for facilitating array input. (gui tools, example, gui)

array(r,c);

image thumbnail

updated 11 years ago

readanalyze.m by Colin Humphries

Read MRI files in the Analyze format. (data import, data export, fmri)

readanalyze(filename)

image thumbnail

updated 11 years ago

inputgui by Toby Driscoll

A simple, flexible, and overridable graphical replacement for INPUT. (gui tools, example, gui)

inputgui(name,default,prompt,isstring,action,...

image thumbnail

updated 11 years ago

MagnetGInput by Michael Robbins

Returns the position of the closest datapoint to your mouse click. (data exploration, ginput, magnet)

[x,y,r]=MagnetGInput(h,N,TEST)

image thumbnail

updated 11 years ago

General Selection Dialogs by Mike Thomson

Extensions to inputdlg, listdlg, menu. (gui tools, example, gui)

inputdlg2( cellItems, figId, charMode, inputDef )

ipFig=dispdlg( cellItems, figId, Mode )

listdlg2( inItems, figId, selMode, inDeft )

image thumbnail

updated 11 years ago

Time-Domain to Magnitude and Phase by Marc Compere

Numerical inference of magnitude and phase information of streaming time domain input and output wav (spectral analysis, time domain, input)

[sys, x0]=sfuntf_mod(t,x,u,flag,...

averaging_spectrum_analyzer_testing

image thumbnail

updated 12 years ago

gray2bi by Adrian Bohdanowicz

The function converts a Gray encoded sequence to the binary sequence. (coding theory, information theory, gray encoding)

gray2bi( g )

image thumbnail

updated 12 years ago

bi2gray by Adrian Bohdanowicz

A function to convert a binary sequence to the Gray-encoded sequence. (coding theory, information theory, gray encoding)

bi2gray( b )

image thumbnail

updated almost 13 years ago

make_sa_input by Magnus Sundberg

Create a matlab representation of an array of structs (structures, cell arrays, struct)

make_sa_input(sarr,arrname)

image thumbnail

updated 14 years ago

circulant.m by Leevan Ling

Creates a circulant matrix. (linear algebra, circulant, matrix)

circulant(c)

Contact us