Gelöst


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

mehr als 2 Jahre vor

Gelöst


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

mehr als 2 Jahre vor

Gelöst


Word Counting and Indexing
You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

mehr als 2 Jahre vor

Veröffentlicht


Using a pattern Object To Match URL Strings
12:25 I need to determine which URL strings in a big array match a certain pattern. Here I will use...

mehr als 2 Jahre vor

Thumbnail

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 2 Jahre vor

Veröffentlicht


Intervening to Save a Program Stuck in a Loop
4:57 Here, one of my MATLAB programs appears stuck in a loop. I don’t want to quit it, as I will lose...

fast 3 Jahre vor

Thumbnail

Gelöst


MATLAB Counter
Write a function f = counter(x0,b) to construct a counter handle f that counts with an initial value x0 and a step size b. E...

fast 3 Jahre vor

Gelöst


Binary Coder
Take an input number and print the binary value of this number.

fast 3 Jahre vor

Gelöst


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

fast 3 Jahre vor

Gelöst


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

fast 3 Jahre vor

Gelöst


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

fast 3 Jahre vor

Veröffentlicht


Investigating an Error in My Check For References Web App
19:31 Debugging and fixing a problem in a MATLAB web app, poses some challenges that you don’t have...

fast 3 Jahre vor

Thumbnail

Veröffentlicht


Investigating Large Variables After Out of Memory Error
11:58 My code, which was running overnight, has stopped with a rare “out of memory” error. I intend...

fast 3 Jahre vor

Thumbnail

Veröffentlicht


Updating My Image Size Check Function to Ignore a Class of Images
43:26 I need to update my script which checks that all the images on our web site are smaller than a...

fast 3 Jahre vor

Thumbnail

Veröffentlicht


Fixing a Bug in My Blog Post Position Code
4:56 The script from my last blog post, which I had set to run daily, has errored-out today, so I need...

fast 3 Jahre vor

Thumbnail

Veröffentlicht


Determining My Last Post’s Position on the Blogs Index Page
27:26 Sometimes I forget to blog about what I have been doing for a few days, so I want to find a way...

fast 3 Jahre vor

Thumbnail

Veröffentlicht


Debugging at Point of Error
12:16 One of my MATLAB scripts has failed and is currently stopped at the error point. By having...

etwa 3 Jahre vor

Thumbnail

Veröffentlicht


Using parfor to Make Many Web Requests
47:27 My colleague asked me to access all the pages on a web server in order to populate it’s cache. I...

etwa 3 Jahre vor

Thumbnail

Veröffentlicht


Analyzing Sitemaps
51:43 Today, I want to analyze the sitemaps on mathworks.com. These XML files, in standard locations,...

etwa 3 Jahre vor

Thumbnail

Veröffentlicht


Repurposing Some MATLAB Code to Detect Large Web Images
46:56 I need to find all video thumbnails on our website that are larger than a certain size. I tried...

etwa 3 Jahre vor

Thumbnail

Veröffentlicht


Shortest Path Between Two Web Pages
31:05 I want to find how you get to a particular web page on our website from another one, i.e. what...

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


I Want To Add An “Are You Sure?” Alert To My Web App
28:38 The web app I’m working on manipulates a set of MAT files and lets me switch between them....

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


AutoHotkey Shortcuts for the MATLAB Editor
11:49 I created some AutoHotkey shortcuts to make it easier to execute arbitrary lines of code in the...

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


Copying Text to the Clipboard in MATLAB Web App – Fail
18:29 I want to occasionally copy text from data in a table in my web app, so I try to add a line to...

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


Adding Another Output Argument to a Function
18:23 I need to add another output argument to a function I made last week, to return some more...

mehr als 3 Jahre vor

Thumbnail

Gelöst


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

mehr als 3 Jahre vor

Veröffentlicht


Adding a try/catch With Email Notification
22:38 One module of a large MATLAB project I maintain failed last night and caused the whole...

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


Scraping Links from a List of Web Pages
44:14 My colleague Sherrie just asked me if I could extract the links from a specific set of pages,...

mehr als 3 Jahre vor

Thumbnail

Veröffentlicht


Scraping Links from a Set of MATLAB Documentation Pages
58:36 My colleague Sam asked if I could help him try and understand how a set of documentation pages...

fast 4 Jahre vor

Thumbnail

Veröffentlicht


Hiding Tabs in My MATLAB Web App
35:05 I’ve added a few tabs to my web app recently to provide some new functionality. However they are...

fast 4 Jahre vor

Thumbnail

Mehr laden