Community Profile

# AdamG2013468

##### Last seen: Today
14 total contributions since 2019

#### AdamG2013468's Badges

View details...

Contributions in
View by

Answered
HEEELP : Index in position 2 is invalid. Array indices must be positive integers or logical values. !!!! why???
Your for loop index is: for i = 0:length(lambda) Within your for loop you are attempting to create a new variable "opticaxis"....

4 månader ago | 0

Question

How to calculate displacement from acceleration data?
I have field vibration (acceleration) data that was collected at a sample frequency of 5k Hz. I would like to get instantaneous ...

8 månader ago | 1 answer | 0

### 1

answer

Answered
how to plot a 3D surface from N by 3 matrix
Try, S = size(matrix); %"matrix being your generic matrix [X, Y] = meshgrid(1:S(2), 1:S(1)); Z = matrix;...

9 månader ago | 0

| accepted

Answered
Section headers are formatting as comments: how to get SH working again?
From the home tab, under the ENVIRONMENT panel, select preferences. Expand the "Editor/Debugger" option from the list, then go t...

9 månader ago | 0

Answered
Can I save variables to the workspace to view them before the script generating them ends?
You could just add the struct comewhere in your script without supressing with a semi-colon so it prints to the command window. ...

9 månader ago | 0

| accepted

Answered
Help on txt file
Just make one combined cell, then use the function writecell(). Variablen_wert = {'A =' [38 70 102 134 166];'B =' [10];'C =' [1...

9 månader ago | 1

| accepted

Answered
How to calculate amplitude of each frequency?
For a 1-D fft, the process is as follows: fs = %arbitrary sample frequency N = length(signal); fbins = [(0:1/N:1-1/N)*fs]; ...

9 månader ago | 0

| accepted

Answered
How to plot a 3D graph of the PSD (pwelch) results of a column matrix of numerous channels?
Try, a = [0 0 0 0]; %where "a" would be your data channel number a2 = [1 1 1 1]; b = [1 2 3 4]; %where "b" woul...

9 månader ago | 0

| accepted

Question

Having trouble changing mouse cursor to "watch" to indicate that function is busy.
I have seen similar questions asked already, but haven't had any success actually getting it to work. The answers I have seen s...

10 månader ago | 1 answer | 0

### 1

answer

Question

How to have a variable format spec print length when using fprintf?
I am trying to print column header information to a .txt file using fprintf. I am importing the column header information from a...

10 månader ago | 1 answer | 0

### 1

answer

Question

UI graphics objects taking several minutes to update when running App Designer application, can I speed this process up?
My application uses an app.Button to execute approximately 80-90 lines of code for importing data from a spreadsheet. I have lea...

10 månader ago | 2 answers | 0

### 2

answers

Question

tic, toc, apear to be reporting incorrect times when called in App Designer button callback
I am using App Designer to build an app that, among other things, imports a .csv after pressing an "import" button. The callbac...

10 månader ago | 1 answer | 0

### 1

answer

Question

Unable to use the list box items as a UIAxes legend values in App Designer
I have built an application that plots data from items selected from a listbox. The listbox has multi-select enabled so I can pl...

10 månader ago | 1 answer | 0

### 1

answer

Question

App Designer not changing Edit Field Value after button is pushed
Using the callback below, I am trying to print text to a "status bar" (Edit Field Text) before the body of the function is reach...

11 månader ago | 1 answer | 0

answer