Wait a certain time for a single keypress
CH = getkeywait(P) waits for a keypress for a maximum of P seconds. P should be a positive number. CH is a double representing the key pressed key as an ascii number, including backspace
- 6,9K (insgesamt)
- 10 (letzte 30 Tage)
- 4,9 / 5
- Community
-
11. Feb 2019
Matlab implementation of classic Sokoban game including large set of levels
Sokoban game implementation without GUI. Game board is simply figure object composed of concatenated images.Keys pressed are read by the game algorithm by @key_pressed_fcn function. Image of the
- 105 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
18. Mär 2016
- 797 (insgesamt)
- 3 (letzte 30 Tage)
- 5,0 / 5
- Community
-
20. Apr 2012
- 369 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
9. Mär 2017
Apply Standard+ Keyboard Shortcuts Keys to a Figure Window
Make regular+ Keyboard Shortcuts work after a Figure window grabs focus from the desktop.
I habitually use Keyboard shortcuts to get around, Ctrl+0 to go to the Command Window, Shift+Ctrl+0 to the editor etc., but as soon as a plot is thrown up they don't respond. What's more is that I
- 678 (insgesamt)
- 9 (letzte 30 Tage)
- 5,0 / 5
- Community
-
26. Sep 2014
Matlab implementation of the addictive game 2048
this by sliding the numbered tiles around (using the arrow-keys). When two identical numbers meet, they merge by adding up. This allows you to generate powers of 2, but it will get exponentially harder
- 1,1K (insgesamt)
- 7 (letzte 30 Tage)
- 4,8 / 5
- Community
-
25. Mär 2014
Send key strokes to any window from within Matlab
Send key strokes to a named Window. Alt, Ctrl, Shift, Enter and Tab areall supported, allowing you to fully navigate the menu of other programsfrom within Matlab. If you simply wish to type into
- 1,4K (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
31. Jan 2013
This program run until you press 'q' (or another key you want). It's work even with GUI
- 525 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
7. Jun 2010
Get a keypress
. getkey('non-ascii') or getkey(N, 'non-ascii') uses non-documented matlab features to return a string describing the key pressed. In this way, keys like ctrl, alt, tab etc. can also distinguished. The return
- 20,4K (insgesamt)
- 12 (letzte 30 Tage)
- 4,7 / 5
- Community
-
11. Feb 2019
Download elevations from Google Maps (API key required)
Get elevations from Google Maps (Google API key required) from latitute and longitude, coordinates input (UTM)
Get elevation from Google Maps (you need an API key to use this function! Check on Google developers page). The function create an URL to download the points elevations. Each URL corresponds to a
- 304 (insgesamt)
- 8 (letzte 30 Tage)
- 5,0 / 5
- Community
-
19. Dez 2019
zoom / pan / rotate / datacursor hotkeys for a figure
figure toolbar (in contrast with a naive approach)* Provides an example of a workaround on how to fix 'KeyPressFcn' beeing overwritten when cursor mode changesHOTKEYS: * 'z' - toogles zoom mode ( last
- 285 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
3. Jun 2016
Pan and zoom with simple keystrokes.
Use this tool to move quickly around the data displayed in a 2-D plot. Make sure the figure has focus, and then press any of the following keys. Clicking and dragging will pan the data. Keys you can
- 4,2K (insgesamt)
- 9 (letzte 30 Tage)
- 5,0 / 5
- Community
-
26. Okt 2022
EditorMacro - assign a macro to a keyboard key-stroke in the Matlab Editor and Command Window
EditorMacro assigns a macro or action to requested key-binding in the Matlab Editor & Command Window
EditorMacro; % get list of current key-bindings bindingsList = EditorMacro('ctrl r'); % get list of bindings for -R [bindings,actions] = EditorMacro; % get list of available built-in action-names
- 4,1K (insgesamt)
- 10 (letzte 30 Tage)
- 4,9 / 5
- Community
-
31. Jan 2011
RSA Public Key Encryption and Signing (32bit)
Basic RSA Public Key encryption and signing to demonstrate the principle.
This submission was created to learn a bit about RSA Public Key encryption and signing. It consists of the following files: GenerateKeyPair (Generates the public and private key) Encrypt (using the
- 2,6K (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
11. Okt 2015
- 107 (insgesamt)
- 1 (letzte 30 Tage)
- -- / 5
- Community
-
20. Jan 2015
Microscopy Image Browser (MIB)
MIB is a package for segmentation of multi-dimensional (2D-4D) microscopy datasets
- 1,3K (insgesamt)
- 16 (letzte 30 Tage)
- 5,0 / 5
- Community
-
9. Feb 2019
Determine whether a key is up or down
Determines whether a key is up or down at the time the function is called
Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.So you don't need to use maltlab
- 263 (insgesamt)
- 1 (letzte 30 Tage)
- -- / 5
- Community
-
11. Sep 2017
- 2,9K (insgesamt)
- 1 (letzte 30 Tage)
- 4,0 / 5
- Community
-
19. Feb 2003
- 950 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
2. Aug 2010
Hash table declaration
H = hash;H('key') = value; %assign value to keyv = H('key'); % retrieve value for a keyH.keys % return cell array of keysH. values % return array of valuesH.idx %
- 783 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
24. Feb 2010
MATDRAM: Delayed-Rejection Adaptive Metropolis MCMC
MatDRAM is a pure-MATLAB Adaptive Markov Chain Monte Carlo simulation and visualization library.
- 565 (insgesamt)
- 3 (letzte 30 Tage)
- 5,0 / 5
- Community
-
16. Jul 2024
Logs each key press and time, and saves to a data file.
:% logFileName = string = save file name (optional)%% OUTPUTS:% A .mat file with a data structure: KEY_PRESS_DATA%% KEY_PRESS_DATA.time = vector of the times when keys were pressed, in% units of seconds
- 172 (insgesamt)
- 1 (letzte 30 Tage)
- -- / 5
- Community
-
26. Jan 2016
Binary Phase Shift Keying Simulation.
This script simulates the Binary Phase Shift keying. Since BPSK is a digital modulation scheme, you can modulate as many bits as you want. however, I have only simulated it for few bits, so that the
- 3,4K (insgesamt)
- 3 (letzte 30 Tage)
- 5,0 / 5
- Community
-
1. Mär 2011
Quadrature Phase Shift Keying Signal generator
Quadrature Phase Shift Keying signal generator for analysing how two Binary Phase Shift Keying signals can be combined together to generate a Quadrature Phase Shift Keying signal. The program
- 269 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
26. Jul 2016
BASK simulation
This script simulates the Binary Amplitude Shift keying. Since BASK is a digital modulation scheme, you can modulate as many bits as you want. however, I have only simulated it for 5 bits, so that
- 3K (insgesamt)
- 2 (letzte 30 Tage)
- 5,0 / 5
- Community
-
1. Mär 2011
- 246 (insgesamt)
- 8 (letzte 30 Tage)
- -- / 5
- Community
-
20. Apr 2016
disk, memory caching - store objects by arbitrary key
Store any matlab objects to disk or keep them in memory, indexed by arbirary objects.
};disk_cache('set', ds, cacheId);It can later be retrieved byds = disk_cache('get', cacheId);Advantages over using .mat files:* indexing with arbitrary keys* automatic detection of outdated data using outdatedKey
- 744 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
5. Sep 2008
spring mass system in 3d - I want to include rigid elemts too - help me please :)
- 602 (insgesamt)
- 1 (letzte 30 Tage)
- -- / 5
- Community
-
16. Okt 2013
- 734 (insgesamt)
- 10 (letzte 30 Tage)
- 5,0 / 5
- Community
-
1. Sep 2016
image stack viewer
imstack is a light-weight image stack viewer for MATLAB that supports:* slice scrubbing by scrolling or arrow key press* color stack viewing* mask overlay (by channel)* biological image formats (such
- 334 (insgesamt)
- 9 (letzte 30 Tage)
- -- / 5
- Community
-
21. Jul 2016
Matlab code for KED, written by the authors for the paper published on TNNLS,2016.
variations efficiently. Then the occlusion model is projected by KDA to get the kernel extended dictionary, which can be computed via the same ``kernel trick" as new testing samples.Finally, we use structured
- 851 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
29. Okt 2016
- 574 (insgesamt)
- 1 (letzte 30 Tage)
- -- / 5
- Community
-
10. Mär 2011
- 24 (insgesamt)
- 2 (letzte 30 Tage)
- 5,0 / 5
- Community
-
22. Feb 2024
Simple Chroma Keying/ Green Screening in Matlab
Shows a very straightforward chroma key method in Matlab
This is a simple demonstration of how to perform chroma keying in Matlab using HSV.The method converts an RGB image to HSV and then thresholds the Hue (H) channel between two limits. The typical
- 1K (insgesamt)
- 2 (letzte 30 Tage)
- 5,0 / 5
- Community
-
26. Sep 2014
- 128 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
10. Jan 2020
getundoc - get undocumented object properties
GETUNDOC returns a structure of undocumented properties (names & values) for the specified object
undocumented properties of H, while skipping the following standard undocumented properties: ALimInclude, ApplicationData, Behavior, CLimInclude, HelpTopicKey, IncludeRenderer, PixelBounds, Serializable
- 2,8K (insgesamt)
- 9 (letzte 30 Tage)
- 5,0 / 5
- Community
-
10. Mär 2016
SIFT KEY POINT DETECTOR IN MATLAB
finds the key points in SIFT algorithm
This software detects the key points location for a given image.
- 2,9K (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
1. Jun 2015
Binary Frequency Shift Keying (BFSK) MATLAB implementation
This file contains the Matlab implementation of Binary Frequency Shift Keying (BFSK)
This file contains the Matlab implementation of Binary Frequency Shift Keying (BFSK)
- 605 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
8. Sep 2020
Frequency Shift Keying (FSK) Modulation and Demodulation
MATLAB code for Frequency Shift Keying (FSK) Modulation and Demodulation
The Frequency Shift Keying (FSK) modulation and demodulation takes place with the input given by the user and this code doesn't need any additional toolbox.
- 2K (insgesamt)
- 8 (letzte 30 Tage)
- 5,0 / 5
- Community
-
22. Sep 2020
Amplitude Shift Keying (ASK) Modulation and Demodulation
MATLAB code for Amplitude Shift Keying (ASK) Modulation and Demodulation
The Amplitude Shift Keying (ASK) modulation and demodulation takes place with the input given by the user and this code doesn't need any additional toolbox.
- 2K (insgesamt)
- 2 (letzte 30 Tage)
- 5,0 / 5
- Community
-
22. Sep 2020
- 3K (insgesamt)
- 13 (letzte 30 Tage)
- 4,9 / 5
- Community
-
14. Mär 2023
Get MD5 of files or arrays as fast C-Mex
MD5 hash of files, strings and arrays (RFC 1321)Hash = GetMD5(Data, Mode, Format)INPUT: Data: File name or array. Mode: CHAR to declare the type of the 1st input. 'File': Data is a
- 7,9K (insgesamt)
- 10 (letzte 30 Tage)
- 4,7 / 5
- Community
-
7. Mär 2019
a fully interactive canvas that provides tools to produce professional-looking schematic diagrams.
various commands on the canvas. To see what these commands are, user can bring forth the 'key' pushbutton located at the top of the canvas. In addition of checking the various assigned keys, one can also
- 123 (insgesamt)
- 2 (letzte 30 Tage)
- -- / 5
- Community
-
13. Sep 2022
Wait for and identify a pressed key
The function GETK fulfills the similar tasks as its prototype, the function GETKEY. It waits for a keypress, stores the key identifier and a period of the waiting. Since the new function behaves
- 390 (insgesamt)
- 9 (letzte 30 Tage)
- -- / 5
- Community
-
16. Jul 2012
Simple hashtable class.
table hashtable - Constructor for HashTable class isempty - Check to see if the hash is empty iskey - Check to see if the hash is currently using a key keys - Get all the keys currently
- 4,7K (insgesamt)
- 2 (letzte 30 Tage)
- 3,7 / 5
- Community
-
14. Dez 2004
Load map, extract connectivity, plot road network & find shortest paths from OpenStreetMap XML file.
and store the parsed data in a MATLAB structure. This data represents the graph of the transportation network.2) Plot the MATLAB structure to get a visualization of the transportation network, its nodes
- 14,9K (insgesamt)
- 8 (letzte 30 Tage)
- 4,7 / 5
- Community
-
4. Aug 2021
robust point set registration using mixture of Gaussians
robust point set registration using mixture of Gaussians
- 2,7K (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
10. Apr 2016
Coherent Receiver for Binary Frequency Shift Keying Modulation
Coherent Receiver for Binary Frequency Shift Keying Modulation
Coherent Receiver for Binary Frequency Shift Keying Modulation
- 219 (insgesamt)
- 8 (letzte 30 Tage)
- 5,0 / 5
- Community
-
11. Aug 2016
A dynamic search box key press function callback for an edit box
set(edit_h,'KeyPressFcn',{@KPF_CB,jedit_h,[],fig_h,list,@my_fun})% set(jedit_h,'MouseReleasedCallback',{@KPF_MR_CB,edit_h}, ...% 'MousePressedCallback',{@KPF_MP_CB,edit_h})% % function my_fun% get(edit_h,'String')% end% % Notes% -
- 945 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
6. Okt 2011
- 3K (insgesamt)
- 2 (letzte 30 Tage)
- 4,7 / 5
- Community
-
3. Sep 2013
- 338 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
7. Feb 2016
This code does the PSK modulation and demodulation of a randomly generated bit pattern
Phase-Shift Keying is a digital modulation scheme that conveys data by changing, or modulating, the phase of a reference signal (the carrier wave). In the code, the carrier is a sine wave and
- 899 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
25. Apr 2014
Retrieve a google map from the command line using the Static Google Maps API.
obtain a Google Maps API Key, freely available from Google. The key may be obtained here: https://developers.google.com/maps/documentation/static-maps/ (click "Get a Key") Note, the key requirement places
- 11,8K (insgesamt)
- 12 (letzte 30 Tage)
- 4,8 / 5
- Community
-
25. Mär 2016
Skipping Stone - An interplanetary space mission design tool
An easy-to-use tool to optimize trajectories for interplanetary missions using swingby manoevres
- 3,9K (insgesamt)
- 9 (letzte 30 Tage)
- 4,2 / 5
- Community
-
2. Mai 2020
Library for getting keyboard and joystick input into MATLAB
currently pressed keys whenever shift is upkb = HebiKeyboard();while true state = read(kb); down = find(state.keys('a':'z')) + 'a'; if ~state.SHIFT disp(char(down)); end
- 524 (insgesamt)
- 7 (letzte 30 Tage)
- 5,0 / 5
- Community
-
20. Jan 2023
Data tips for multiple curves by mouse or arrow keys
The function 'DataTip.m‘ displays fully customizable data tips at the mouse pointer location. It works in regular figures or GUIs.
keys.• Activate right mouse button to show interpolated values.• Displays the data point closest to the mouse pointer.• Sticks on a curve by a certain distance to the mouse pointer.*)• Replicates the
- 109 (insgesamt)
- 8 (letzte 30 Tage)
- 5,0 / 5
- Community
-
23. Jan 2021
Get a table of contour line coordinates from a contour object.
getContourLineCoordinates(cm);--or-- contourTable = getContourLineCoordinates(h);contourTable = Level.........Group..........X............Y ____________________________________
- 2,1K (insgesamt)
- 9 (letzte 30 Tage)
- 5,0 / 5
- Community
-
14. Mai 2020
- 591 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
20. Jun 2024
Space Shift Keying: Modulation and Demodulation
A simple MATLAB code that simulates 30 bits of data using SSK and demodulating the same.
- 120 (insgesamt)
- 2 (letzte 30 Tage)
- 5,0 / 5
- Community
-
24. Jul 2019
Coherent Detection of CPFM with Full Response Rectangular Filters using Weakly Orthogonal Signals
- 100 (insgesamt)
- 1 (letzte 30 Tage)
- 5,0 / 5
- Community
-
22. Mai 2021