photo

Max Murphy


Last seen: plus de 3 ans il y a Actif depuis 2017

Followers: 0   Following: 0

Message

Statistiques

All
  • Knowledgeable Level 3
  • 3 Month Streak
  • Introduction to MATLAB Master
  • Community Group Solver
  • First Submission
  • GitHub Submissions Level 1
  • Knowledgeable Level 2
  • Promoter
  • Solver
  • First Answer
  • Revival Level 1
  • First Review

Afficher les badges

Feeds

Afficher par

Réponse apportée
Binning data into a new matrix
Your code is returning counts only because you are only requesting the first output of histcounts yy = my_matrix(:,2); % ...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to generate a few timing signals as shown below?
Check out rectpuls(t,w); % w controls width of it; need to synthesize time vector and tripuls(T,w,1); % Use value of 1 for s ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
how to write superscripts for x-axis in a boxplot
% h=boxplot(x, g, 'notch','off','label', {'89_{p}','10007_{p}','3067_{M}'}); % You were using subscript operator (_) h=boxplot...

plus de 4 ans il y a | 0

Réponse apportée
Replace specific/diagonal elements in Matrix using editor, scripting
% If this is to be called iteratively % Example while loop iteration = 0; while (iteration < numel(data)) % Some conditiona...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Callback functions for displaying videos
% In app constructor ... % Initialize image app.Figure = figure('Name','Main Video GUI'); app.VidAx = axes(app1.Figure,'...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
create struct with nx1 dimension
StructName = struct('FieldName1',cell(2,1),'FieldName2',cell(2,1)); % or StructName = struct('FieldName1',[],'FieldName2',[]);...

plus de 4 ans il y a | 2

| A accepté

Réponse apportée
morphological operation and filtering
Here are some ways of looking at it (although by only specifying baseline I am not sure I know what part of the signal you would...

plus de 4 ans il y a | 1

Réponse apportée
Text mining. Using Regular Expression
It depends on how you would like to split the input. As entered, your expression evaluates to >> test = regexpi('string','\x','...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Convert Nx1 matrix into a single number
A=[1 2 3 4 5]; B=str2double(sprintf('%g',A));

plus de 4 ans il y a | 2

Réponse apportée
Multiplying 3X3 array by a 3x1
You can probably improve on this and in terms of actual efficiency I am not sure it's better than what you have, but I am assumi...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
i put the following code i got the error of "Unrecognized method, property, or field 'velocity' for class 'timeseries''.
Looks like driving_data is a timeseries class. My guess is your velocity information is stored in the .Data property. Try: v...

plus de 4 ans il y a | 0

Réponse apportée
Error: Attempt to add (variable) to a static workspace,
Try function Densite % load x; % load h in = load('x.mat','x'); % If these were together in one file, like 'data.mat' x...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How determined lowest value in cell?
x1{i} is a double, so you would use: length(x1{i}) to get the length of that cell element. If you want to get the minimum len...

plus de 4 ans il y a | 1

Réponse apportée
Using filterdesigner/FDAtool - setting parameters in the GUI and getting the parameters while my script is running
In the fdatool GUI, select the "Bandstop" radio-button option in the Response Type panel to create a Notch filter. In the Design...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
data extract from 3d line plot?
See example code and modify according to your data: %% Make test data fig = figure; ax = axes(fig); nPoint = 1001; nSerie...

plus de 4 ans il y a | 0

Réponse apportée
Notify event in a class
You are very close to having it working! In your Notify callback, you make a call to the constructor ClassA rather than a specif...

plus de 4 ans il y a | 0

| A accepté

Question


Intermittent Bug with Base Workspace Variable editor
Problem I have a recurring issue that I am not sure how to reproduce: occasionally, functions called from the base workspace (e...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Adding a column every nth column without replacing existing one
Test Data A = [1 2 3 4; 5 6 7 8; 9 10 11 12]; Function function A = addDataNthColumn(A,B,n) % ADDDATANTHCOLUMN Add data in ...

plus de 4 ans il y a | 1

Réponse apportée
Two different size matrices multiply the overlapped element
Cool question. Maybe there is a better way to do it with built-in Matlab features, interested to see others approach. Strategy ...

plus de 4 ans il y a | 0

Réponse apportée
Concatenate data from processing of imported text files
Not the most efficient, but you could do: directory = 'D:\PhD\Matlab code';%path from where Iam extracting files textfiles = f...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
How to remove data from a plot when box in checkbox is deselected
Edit: After getting the graph_function, removing the old suggestions for clarity. % These two lines are most likely to change, ...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
To emit a simple sound each time a video is labeled
To produce the dreaded error sound, syntax is just beep; (beep on or off just toggles whether the error sound is on or muted). ...

plus de 4 ans il y a | 0

Réponse apportée
I want to show the Magnitude response of three filters, as one response
Could you use freqz and take the product of the frequency responses, assuming the filters will be cascaded in a linear system? ...

plus de 4 ans il y a | 2

Réponse apportée
Create a plot with multiple axes on a uitab. Using addaxis
In the function addaxis (from FEX), at ~line 110 there is a call to the Matlab axes function: h_ax = axes('position',[xpos, cpo...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Variable inside timer callback is lost after first iteration in GUI - undefined function or variable
In continuousTemperatureRead, you assign handles the value from guidata(hObject). However, in controlPanel_OpeningFcn, handles...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
Creating cell arrays and 'Operands to the || and && operators must be convertible to logical scalar values.'
I am unfamiliar with the contents of the P-parameters that you have many variables for, so it is a little difficult to help trou...

plus de 4 ans il y a | 0

Réponse apportée
Copy the content of one table to an other table with different size
You need to initialize column 'x' first in table2: nRows = size(table2,1); x = table(nan(nRows,1),'VariableNames','x'); % Make...

plus de 4 ans il y a | 1

Réponse apportée
Group the array with similar strings
Seems like you are trying to parse out a bunch of variable names and associated values and group them in a table. Ideally, it wo...

plus de 4 ans il y a | 0

Réponse apportée
Copying existing .fig files into Panel
Sorry if this answer is too late to help you, but it looks like in your examples above you were trying to copy children of an ax...

plus de 4 ans il y a | 0

Question


Invalid entry in label data table for Scene labelType when using Image Labeler app?
I am using the Image Labeler App (Matlab R2017b) to label objects and classify scenes on a subset of image frames that I exporte...

plus de 6 ans il y a | 1 réponse | 1

1

réponse