Sigurd Askeland
Followers: 0 Following: 0
Feeds
已解决
Get the area codes from a list of phone numbers
Given a string of text with phone numbers in it, return a unique'd cell array of strings that are the area codes. s = '508-647...
3 years 前
已解决
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...
3 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3 years 前
已回答
paste is disabled in the app designer
I have a work-around: In my case (R2020b) copying works, but not paste. Also, moving by dragging works. I copy from the code ...
paste is disabled in the app designer
I have a work-around: In my case (R2020b) copying works, but not paste. Also, moving by dragging works. I copy from the code ...
3 years 前 | 0
已回答
Extracting cartesian coordinates from a binarized image of a curved line
I don't have the Image Processing Toolbox, so I can't recreate your scenario exactly. However, if you have a 2D array of boolean...
Extracting cartesian coordinates from a binarized image of a curved line
I don't have the Image Processing Toolbox, so I can't recreate your scenario exactly. However, if you have a 2D array of boolean...
6 years 前 | 0
已回答
pde matlab code for wave equation
It seems you are plotting |data| in stead of |u|. When you set |data = u| before the for loop, any subsequent changes to |u| are...
pde matlab code for wave equation
It seems you are plotting |data| in stead of |u|. When you set |data = u| before the for loop, any subsequent changes to |u| are...
6 years 前 | 0
已回答
MATLAB: How to loop until the user types a specific word?
This code should do the trick: response = ''; counter = 1; %While loop runs until the string comparison finds %tha...
MATLAB: How to loop until the user types a specific word?
This code should do the trick: response = ''; counter = 1; %While loop runs until the string comparison finds %tha...
6 years 前 | 2
| 已接受
已回答
Different Colors in plotting?
The color can be set to a RGB value using the syntax |plot(x,y,'color', [r, g, b])|, where |r|, |g| and |b| are between 0 and 1....
Different Colors in plotting?
The color can be set to a RGB value using the syntax |plot(x,y,'color', [r, g, b])|, where |r|, |g| and |b| are between 0 and 1....
6 years 前 | 0
提问
Extracting data fom nested object arrays
I have object arrays where the objects have properties that them-self are object arrays. What is the best way to extract dat...
6 years 前 | 1 个回答 | 0
1
个回答提问
How to initialize an object array as a class property?
Here are two code snippets illustrating my problem: classdef SomeClass properties foo; bar; ...
6 years 前 | 1 个回答 | 1