Sarah Wait Zaranek
MathWorks
2011 年からアクティブ
Followers: 0 Following: 0
Professional Interests: parallel computing, geophysics
統計
All
Feeds
送信済み
Large Data Sets in MATLAB Webinar Examples
Example code from "Large Data Sets in MATLAB " webinar (http://www.mathworks.com/wbnr33692)
約8年 前 | ダウンロード 1 件 |
解決済み
Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...
11年以上 前
解決済み
Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...
12年弱 前
解決済み
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...
12年弱 前
回答済み
Array manipulation ... a better way?
You can do this with logical indexing (and not a for-loop) q = zeros(length(p(:,1)),1); Find where the first column is e...
Array manipulation ... a better way?
You can do this with logical indexing (and not a for-loop) q = zeros(length(p(:,1)),1); Find where the first column is e...
12年弱 前 | 0
| 採用済み
回答済み
load several (one after another ) .mat Files via a For-Loop Job
Unless I am missing something, I think the easiest thing would be to do a nested for loop. for ii = 1: Number load(['co...
load several (one after another ) .mat Files via a For-Loop Job
Unless I am missing something, I think the easiest thing would be to do a nested for loop. for ii = 1: Number load(['co...
12年弱 前 | 6
| 採用済み
回答済み
How to fit histogram data with normfit using signed X-axis ?
Probably the easiest way to handle this, if you like what the distribution fitting tool is doing, is to autogenerate code from ...
How to fit histogram data with normfit using signed X-axis ?
Probably the easiest way to handle this, if you like what the distribution fitting tool is doing, is to autogenerate code from ...
12年弱 前 | 0
| 採用済み
回答済み
Reproducing the "Evaluate" function from "basic fitting" GUI directly in code
You can use the polyfit function to fit your data programatically. You can then use polyval to evaluate the polynomial at a giv...
Reproducing the "Evaluate" function from "basic fitting" GUI directly in code
You can use the polyfit function to fit your data programatically. You can then use polyval to evaluate the polynomial at a giv...
12年弱 前 | 0
| 採用済み
解決済み
Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...
12年弱 前
解決済み
Scrabble Scores
Given a word, determine its score in <http://en.wikipedia.org/wiki/Scrabble Scrabble>. The input string will always be provide...
12年弱 前
解決済み
Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...
12年弱 前
解決済み
Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...
12年弱 前
解決済み
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
12年弱 前
解決済み
Alphabetize by last name
Given a list of names in a cell array, sort the list by the last name. So if list = {'Barney Google','Snuffy Smith','Dagwood ...
12年弱 前
解決済み
Find state names that start with the letter N
Given a list of US states, remove all the states that start with the letter N. If s1 = 'Alabama Montana Nebraska Vermont Ne...
12年弱 前
解決済み
Renaming a field in a structure array
MATLAB has a <http://www.mathworks.com/help/techdoc/ref/setfield.html setfield> and a <http://www.mathworks.com/help/techdoc/ref...
12年弱 前
解決済み
Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...
12年弱 前
解決済み
Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...
12年弱 前
解決済み
Trimming Spaces
Given a string, remove all leading and trailing spaces (where space is defined as ASCII 32). Input a = ' singular value deco...
12年弱 前
回答済み
Question regarding the Spredsheet link EX tool
These sections in the documentation should walk you through the basics of using Spreadsheet Link EX. http://www.mathworks.com...
Question regarding the Spredsheet link EX tool
These sections in the documentation should walk you through the basics of using Spreadsheet Link EX. http://www.mathworks.com...
12年弱 前 | 0
回答済み
Error running parallel simulations
It looks like your mex file is still being used in MATLAB memory. You can try to see if clearing mex files will help, clea...
Error running parallel simulations
It looks like your mex file is still being used in MATLAB memory. You can try to see if clearing mex files will help, clea...
12年弱 前 | 0
回答済み
sharing matrix in parfor
There is no way to do shared memory automatically in a parfor loop. However, depending on where the data is located - there may...
sharing matrix in parfor
There is no way to do shared memory automatically in a parfor loop. However, depending on where the data is located - there may...
約12年 前 | 1
解決済み
Counting Money
Add the numbers given in the cell array of strings. The strings represent amounts of money using this notation: $99,999.99. E...
12年以上 前
解決済み
Number of 1s in the Binary Representation of a Number
*Description* Return the number of 1s in the (unsigned integer) binary representation of a number. This function should be ab...
12年以上 前
解決済み
Summing Digits within Text
Given a string with text and digits, add all the numbers together. Examples: Input str = '4 and 20 blackbirds baked in a...
12年以上 前
解決済み
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
12年以上 前
回答済み
Sscanf /sprintf usage
I think this is your issue -- From doc for sscan - "Format specifiers for the reading functions sscanf and fscanf differ f...
Sscanf /sprintf usage
I think this is your issue -- From doc for sscan - "Format specifiers for the reading functions sscanf and fscanf differ f...
12年以上 前 | 0
| 採用済み
回答済み
How to Save Matrices to excel multiple times with incremental excel name to avoid overwrite
The easier way to to construct a new filename within the loop by converting the index to a string and adding it the original nam...
How to Save Matrices to excel multiple times with incremental excel name to avoid overwrite
The easier way to to construct a new filename within the loop by converting the index to a string and adding it the original nam...
12年以上 前 | 2
| 採用済み
解決済み
Pattern matching
Given a matrix, m-by-n, find all the rows that have the same "increase, decrease, or stay same" pattern going across the columns...
12年以上 前