W. Owen Brimijoin - MATLAB Central
photo

W. Owen Brimijoin


Last seen: 7 mesi fa Attivo dal 2010

Followers: 0   Following: 0

Statistica

All
MATLAB AnswersCodyFile ExchangeZoom OutFrom 07/10 to 03/25Use left and right arrows to move selectionFrom 07/10Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

1 Domanda
31 Risposte

File Exchange

7 File

Cody

0 Problemi
18 Soluzioni

RANK
683
of 297.613

REPUTAZIONE
111

CONTRIBUTI
1 Domanda
31 Risposte

ACCETTAZIONE DELLE RISPOSTE
100.0%

VOTI RICEVUTI
25

RANK
2.193 of 20.457

REPUTAZIONE
810

VALUTAZIONE MEDIA
5.00

CONTRIBUTI
7 File

DOWNLOAD
13

ALL TIME DOWNLOAD
7566

RANK
25.262
of 159.263

CONTRIBUTI
0 Problemi
18 Soluzioni

PUNTEGGIO
190

NUMERO DI BADGE
1

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • 5-Star Galaxy Level 4
  • Knowledgeable Level 3
  • Personal Best Downloads Level 1
  • First Submission
  • 6 Month Streak
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

Risposto
Column vector with interval
There are two ways to approach this and I think you're conflating the two: Here's one option colvec = [2:-.1:0]'; He...

circa 10 anni fa | 3

| accettato

Risposto
Simple operation with vectors
Location of the max y values as the index into x: x(y==max(y))

circa 10 anni fa | 0

| accettato

Risposto
how can i get the average of group of rows in time series?
I might suggest a function I have <http://www.mathworks.com/matlabcentral/fileexchange/47142-timeseries-indexer-labels-timestamp...

circa 10 anni fa | 0

Risposto
How do I fix this uigetfile multiselect error?
Don't know if this is the cause of your problem, but I can say that uigetfile in 'MultiSelect' mode has the bothersome behavior ...

circa 10 anni fa | 0

| accettato

Risposto
how to mix two audio signals
Simple mixing is just adding. y3 = y1 + y2; If you want to control the level of each within the mix, then you need to ad...

circa 10 anni fa | 2

| accettato

Risposto
how to calculate element distance in a vector?
Try this: answer = sum((abs(diff(M,1,2))),2)

oltre 10 anni fa | 2

Risposto
how to calculate element distance in a vector?
It looks like you want the sum of the absolute value of the differential of those numbers? You get your first answer like this: ...

oltre 10 anni fa | 1

| accettato

Risposto
How to put wav file as input argument of a function ?
You need to load the signal that's in the file 'Songbird.wav' into the Matlab workspace first: stimulus = audioread('Songbi...

oltre 10 anni fa | 0

Risposto
generating aperodic impulse train or triangular pulse or rectangular pulse
It's a bit hard to know exactly what parameters you are after, but if all you are doing is making a click train with randomly ch...

oltre 10 anni fa | 0

Domanda


Issues exiting from a while loop when the figure is closed
I often need to make functions that can be terminated by a user who doesn't have access to the keyboard (and thus the all-powerf...

oltre 10 anni fa | 2 risposte | 1

2

risposte

Risposto
Is there any way of producing a 4d plot from a matrix which has 4 columns (coordinates + value)?
It's generally difficult to provide an intuitive graphical representation of high dimensional data. But, and mind you I say this...

oltre 10 anni fa | 0

Risposto
How to speed up normalization of an array
You don't have to use bsxfun three times in that line, just the once. Try this simpler line: selfn = bsxfun(@rdivide,selfn,...

oltre 10 anni fa | 0

Risposto
Multiple vector output in a function
You need to specify that you want *both* outputs: [X,Y] = element_select(A,B,astart,astep,bstart,bstep) X = 1 ...

oltre 10 anni fa | 1

| accettato

Risposto
How do i know a 'cancel' button or the 'cross' button is pressed in inputdlg?
You could do this by checking whether the output of the function is empty: answer = inputdlg('enter your name'); user_ca...

oltre 10 anni fa | 0

| accettato

Risposto
how to find maximum value from a matrix then add a value to it and then replace that in the same matrix?
This ought to do the job! a=rand(4,10); a(a==max(a(:))) = a(a==max(a(:)))+0.001;

quasi 11 anni fa | 1

| accettato

Risposto
Assigning a vector to multiple rows of a matrix
You could try using indices instead of subscripts: %pick the rows in B you want to your A values to go into: r = [1 3 5]...

quasi 11 anni fa | 0

| accettato

Risposto
Repeative selecting unique values of matrix
Ok, now I understand what you're trying to do. The first three values will always be the first three three from user 1, then the...

quasi 11 anni fa | 0

Risposto
Repeative selecting unique values of matrix
You don't really need the three vectors to begin with, you can make a matrix containing a random permutation (randperm.m) of the...

quasi 11 anni fa | 0

Risposto
How can I (for a digital signal) estimate the interval between steps of amplitude 1?
The code you've included doesn't work because we don't know what the variable 'step' is defined as. You might have more luck fir...

quasi 11 anni fa | 0

| accettato

Risposto
pad vector between its values
If you find regular array operations more straightforward to follow than cell functions, you could create an array that increase...

quasi 11 anni fa | 1

| accettato

Risposto
Simulating a random sample from a matrix
So for each row you want to randomly pick either the first or the second column, correct? This would result in 88 total values t...

quasi 11 anni fa | 0

Risposto
How can i index various objects using a variable in their name?
You can dynamically refer to different edit boxes by enclosing the field name in parentheses and supplying the numerical argumen...

circa 11 anni fa | 1

| accettato

Risposto
time user input as soon as they start typing
Per is exactly right, this sort of a question calls for the use of the KeyPressFcn. The idea is to make a figure that waits f...

circa 11 anni fa | 0

Risposto
Extract length of data in a structure
If you are intent on avoiding a for-loop, then you could try converting the structure to a cell array and then using a cell ...

circa 11 anni fa | 0

Risposto
Shuffle vector with constraints
A brute force method works fairly well in this scenario - 1) start with a shuffled version of the sequence, 2) find repeats, 3) ...

circa 11 anni fa | 1

| accettato

Risposto
Shadowing built-in functions
I've always taken a stupidly simple approach to this problem: I just type what I am planning to name the variable into the comma...

circa 11 anni fa | 1

Risposto
find closest Coordinates to a point
In your example, you are returning A, rather than the closest point in B... assuming that the answer you are looking for was act...

oltre 11 anni fa | 8

| accettato

Risposto
convert a range vector of bin centers to bin edges. Bin Centers and edges are non-uniform
If we assume the simplest case, that the edges should be precisely between the centres (i.e., not geometric, or logarithmic, etc...

oltre 11 anni fa | 0

Risposto
indexing a vector by a power
You could accomplish this without using a for loop as follows: n = 4; p = 2.^cumprod([1,2+zeros(1,n-1)]) this results...

oltre 11 anni fa | 1

| accettato

Risposto
Range of atan2, confusion when using coordinates of a photo
You'll need to subtract the XY centre of your image from the points before you measure the angle using atan2. The following code...

oltre 11 anni fa | 0

Carica altro