Published


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...

mer än 2 år ago

Thumbnail

Solved


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

mer än 2 år ago

Published


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...

mer än 2 år ago

Thumbnail

Solved


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...

mer än 2 år ago

Solved


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

mer än 2 år ago

Solved


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...

mer än 2 år ago

Solved


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...

mer än 2 år ago

Solved


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....

mer än 2 år ago

Published


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...

mer än 2 år ago

Thumbnail

Published


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...

mer än 2 år ago

Thumbnail

Published


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...

mer än 2 år ago

Thumbnail

Published


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...

mer än 2 år ago

Thumbnail

Published


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...

mer än 2 år ago

Thumbnail

Published


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

nästan 3 år ago

Thumbnail

Published


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...

nästan 3 år ago

Thumbnail

Published


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

nästan 3 år ago

Thumbnail

Published


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...

nästan 3 år ago

Thumbnail

Published


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...

ungefär 3 år ago

Thumbnail

Published


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....

ungefär 3 år ago

Thumbnail

Published


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...

ungefär 3 år ago

Thumbnail

Published


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...

mer än 3 år ago

Thumbnail

Published


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...

mer än 3 år ago

Thumbnail

Solved


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...

mer än 3 år ago

Published


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...

mer än 3 år ago

Thumbnail

Published


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,...

mer än 3 år ago

Thumbnail

Published


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...

mer än 3 år ago

Thumbnail

Published


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...

mer än 3 år ago

Thumbnail

Published


MATLAB Web App Update, Test, and Commit
25:05 I need to develop a new feature in one of my MATLAB web apps. I also need to test it, commit it...

mer än 3 år ago

Thumbnail

Published


MATLAB arguments Block: Conversion from inputparser
10:59 I eventually got around to converting a complex use of inputparser to an arguments...

mer än 3 år ago

Thumbnail

Published


MATLAB arguments Block: First Look
16:56 Here I try using the new MATLAB arguments block for the first time. It was introduced last year...

nästan 4 år ago

Thumbnail

Load more