photo

Sigurd Askeland


Last seen: 5 mesi fa Attivo dal 2018

Followers: 0   Following: 0

Statistica

All
  • Thankful Level 2
  • Solver
  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 1

Visualizza badge

Feeds

Visto da

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

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

oltre 3 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 0

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

oltre 6 anni fa | 2

| accettato

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

oltre 6 anni fa | 0

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


How to initialize an object array as a class property?
Here are two code snippets illustrating my problem: classdef SomeClass properties foo; bar; ...

oltre 6 anni fa | 1 risposta | 1

1

risposta