Community Profile

photo

Wesley Ooms


Last seen: 1 year ago Active since 2011

Followers: 0   Following: 0

Message

Statistics

All
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
Experiences with release 2012b
It sucks. I'm frustrated. I hate the ribbon. I cannot find anything in the documentation. The simulink scope y axis is unreadabl...

9 years ago | 1

Question


cellfun with empty cell input
When I use cellfun with an empty cell as input, the output is an empty array. Is that a bug in matlab? How can that be avoided? ...

9 years ago | 1 answer | 0

1

answer

Question


overwriting built in function
if i make a conditional statement where i compare 2 stings, i need to do this: if strcmpi(string_1,string_2), ... end ...

9 years ago | 3 answers | 0

3

answers

Answered
simplify weird path name
ok, solved myself: p='C:\folder\\\\subfolder\.\.\..\..\documents\map\dir\\\..\location\' p=p(p~='.') p=p(p~='\'|p([2...

10 years ago | 0

| accepted

Answered
help solving string question
totally not optimized, but this will do the trick: clear a b a=32385 i=1 while floor(a/10) b(i)=a-floor(a/10)*...

10 years ago | 0

Question


simplify weird path name
if i have a valid pathname like this: C:\folder\\\\subfolder\.\.\..\..\documents\map\dir\\\..\location\ how can i chang...

10 years ago | 1 answer | 0

1

answer

Answered
"XXX" requires more input arguments to run
Same problem here. If f5 / f9 is a reflex, then you end up with 20 balloons per minute. I found a solution for my case. ...

10 years ago | 0

Question


why is periodogram(y,w) not periodogram(y.*w)
why is periodogram(y,w) not the same as periodogram(y.*w), where y is the signal and w the window. For a rectangular window it i...

10 years ago | 1 answer | 0

1

answer

Answered
Return value of fft function and details of the bins
The bins are slightly different between even and odd number of sample points. I use the following: f = ceil(-N/2:N/2-1)/...

10 years ago | 2

Question


exotic piece of code
I have a quite exotic piece of code that works fine, but i wonder if it cannot be done easier. The code is part of a function...

10 years ago | 0 answers | 0

0

answers

Question


flush uicontrol callback queue
Hi, I want to show a continuously repeating animation that can be updated on the fly with pushbuttons. The problem is that a new...

10 years ago | 1 answer | 0

1

answer

Question


optimize inefficient piece of code
Hi, I have a piece of code as part of a bigger piece that is inefficient. The code is called many times and is a bottleneck i...

10 years ago | 1 answer | 0

1

answer

Solved


Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...

11 years ago

Question


combine surfaces into one big surface
Hi, I have a lot of surfaces and patches in a single plot; surf(this) surf(that). 376 in total. (I also have a struct with 3...

11 years ago | 2 answers | 0

2

answers

Question


array of plots in simulink
Hello, I wrote the following embedded matlab function to plot an array of scopes: function fcn(t,u) % This block supports...

12 years ago | 0 answers | 1

0

answers

Answered
how to call the callback in GUI ?
if i understand correct, instead of 'Mohammad', you should write {@Mohammad} so that it becomes uimenu('Label','&File'); ...

12 years ago | 0

| accepted

Answered
Indirect addressing in structure
If i understand correct, it can be done with the command 'fieldnames' it returns the names of the fields in a cell array. ...

12 years ago | 0

Answered
stop for loop if a thing happens
i looked it up for you. the command is 'break' :)

12 years ago | 0

Answered
stop for loop if a thing happens
the command is 'return' i guess

12 years ago | 0

Question


recover basic rotations
Dear reader. Is it possible to recover the basic rotations from a general rotation matrix? i do know the order of rotating. I...

12 years ago | 2 answers | 0

2

answers