# Shae Morgan

**Statistics**

RANK**781**

of 281,602

REPUTATION**84**

CONTRIBUTIONS

**9** Questions

**21** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**14**

RANK

of 19,054

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

writecell writes empty value for the first row in a for-loop

I have this .mlapp from App Designer, and I'm using it to loop through some audiofiles and then record what the listener heard. ...

3 days ago | 1 answer | 0

### 1

answerHow to remove units from a plot?

You can try to save and re-plot the output of the graph, then use xlabel to solve your problem. [z,x,y]=lsim(G,sq_wave,t) plot...

3 years ago | 1

| accepted

Question

Sendmail not working in a standalone App Designer application on MAC only

Hello, I've made an app designer app where users can save some information (generated in the app) and then e-mail an excel spre...

3 years ago | 0 answers | 0

### 0

answersQuestion

App Designer packaging standalone desktop app - MAC

Let me start out by restating that I'm on MATLAB 2020a on a MAC computer. I have an app that I've designed in MATLAB saved in ...

3 years ago | 0 answers | 0

### 0

answersSolved

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

3 years ago

Question

Change focus after tab selection in app designer

I'm workin in app designer, and have an app that has a tabgroup component with a corresponding selectionchanged callback functio...

3 years ago | 0 answers | 0

### 0

answersQuestion

sendmail works when I run my app but not when another user uses it in a packaged app

Hello, I made an app in app designer and part of the app asks the user to input their e-mail address and then the app sends the...

3 years ago | 1 answer | 0

### 1

answerQuestion

locked output files students can turn in

Hello, I'm wondering if I can get some input on a problem. I'm trying to save data generated in an app (made with AppDesigner)...

3 years ago | 1 answer | 0

### 1

answerHow do I control the xticks if x is a long imported excel column (Time Format: HH:MM:SS)?

Try this out: Since I didn't have your variable class, I had to assume you're dealing with time-stamps here. This works for th...

3 years ago | 1

| accepted

How to select certain columns of a matrix only when the values in certain rows showing the the double of the value in a particular row of a column?

do this in two steps: 1) find the indices where the values > 2 and then 2) sum the columns - if all rows 1-3 and 5 are less than...

3 years ago | 0

How do i multiply 2 increasing variables

Is this more whasdfat you were looking for? v0 = (10:1:20); theta = (30:1:40); for i= 1:length(v0) for j = 1:length(thet...

3 years ago | 0

| accepted

Plotting the average line of a graph of a column imported from an excel

Wha about this: t1 = datetime(2020,8,12,13,11,24); %start time t2 = datetime(2020,8,12,13,18,36); %end time time5 = t1:second...

3 years ago | 1

Problem while plotting twice in a figure

Try this out: Since I didn't have your variable class, I had to assume you're dealing with time-stamps here. This works for th...

3 years ago | 0

| accepted

How to run a code several times using a for loop

Something like this? Datay=rand(1,24) Noutput=rand(1,24) %Noutput: Matrix: 1X24 % The following produce must be performed f...

3 years ago | 0

The scale of the x-axis (Format: HH:MM:SS)

try looking into the 'xtick' property to specify which x-ticks you want to show. it'll suppress the rest of them x=1:10; %demo ...

3 years ago | 0

| accepted

Save data from for-loop and their use

You just need to index your output and then reference the appropraite index for i=1:4 [C1(i,:),L1(i,:)]=wavedec(SatTrDatax_Nor...

3 years ago | 0

| accepted

Bandstop starts at 2.7 dB instead of 0 dB. Why? Demo Code from a Matlab Book

If a filter is a perfect rectangular filter, then filtering begins at the cutoff frequency and goes to the desired attenuation/g...

3 years ago | 0

How to make a new matrix out of the combination of 12 matrix

try concatenating them? Or do you want to add them across? You say "combination" do you mean an average or a sum? We need more i...

3 years ago | 0

| accepted

simultaneous noise and pure tone

How your sounds currently are set up, they are concatenated to be added one onto the other. If you change your concatenation to ...

3 years ago | 1

| accepted

Equation for Amplitude difference between two tones

The equation for dB is 10*log10(Incident_intensity/reference_intensity). When dealing with pressures (as we usually are in soun...

3 years ago | 1

| accepted

generate signals with different SNR

Here's a solution! Hope it's helpful %setup fs=100000; noise_dur=3; sine_freq=10000; sine_dur=.1; t=0:1/fs:sine_dur-1/fs; ...

3 years ago | 2

| accepted

Generating pure tone and noise

See here for an excellent solution to generating your noise from one of your previous questions: Generate noise You can use th...

3 years ago | 1

| accepted

How to fix the upper asymptote in sigmoid?

Your call to mysigmoid has 6 input arguments (b,c,x,xon,xrated,a; the last of which is your "a"), but your defined function onl...

3 years ago | 1

| accepted

What is missing from MATLAB #2 - the next decade edition

facet_wrap or facet_grid (or general ggplot2 functionality) version of subplots, or some altered, simpler customizability for su...

3 years ago | 2

Harmonics of Fourier series

Question asked/answered elsewhere https://www.mathworks.com/matlabcentral/answers/491350-harmonics-of-fourier-series?s_tid=answ...

3 years ago | 1

FOR LOOP NOT WORKING

EXANGLES = -34:1:184; EYANGLES = deg2rad(EXANGLES); EVSUB1 = 90; FT126 = 126; for i = 1:length(EXANGLES) if EXANGLES(...

3 years ago | 1

rise/fall time

%set-up parameters fs=44100; %CD quality - also conveniently divisible by 30 and 25 stim_dur=.025; %duration in seconds ISI_d...

3 years ago | 1

| accepted

Question

add audio to a static image

I have an audio signal and a picture. I'm trying to output a video of the static image for the duration of the audio that's play...

3 years ago | 1 answer | 0

### 1

answerQuestion

MATLAB 2019a ginput spectrogram issue

I recently updated to 2019a from 2018a and my code no longer works. I get the error below from the following code: y = randn(10...

4 years ago | 1 answer | 0