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

10 Tage ago | 0 answers | 0

Question

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

15 Tage ago | 1 answer | 0

Question

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

etwa ein Monat ago | 1 answer | 0

Answered

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

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

etwa ein Monat ago | 0

| accepted

Answered

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

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

etwa ein Monat ago | 0

Answered

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

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

etwa ein Monat ago | 0

| accepted

Answered

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

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

etwa 2 Monate ago | 1

Answered

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

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

etwa 2 Monate ago | 0

| accepted

Answered

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

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

etwa 2 Monate ago | 0

Answered

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

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

etwa 2 Monate ago | 0

| accepted

Answered

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

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

etwa 2 Monate ago | 0

| accepted

Answered

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

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

etwa 2 Monate ago | 0

Answered

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

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

etwa 2 Monate ago | 0

| accepted

Answered

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

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

etwa 2 Monate ago | 1

| accepted

Answered

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

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

etwa 2 Monate ago | 1

| accepted

Answered

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

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

etwa 2 Monate ago | 1

| accepted

Answered

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

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

etwa 2 Monate ago | 1

| accepted

Answered

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

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

etwa 2 Monate ago | 1

| accepted

Answered

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

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

etwa 2 Monate ago | 1

Answered

Harmonics of Fourier series

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

Harmonics of Fourier series

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

etwa 2 Monate ago | 1

Answered

FOR LOOP NOT WORKING

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

FOR LOOP NOT WORKING

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

etwa 2 Monate ago | 1

Answered

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

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

etwa 2 Monate 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 Monate ago | 1 answer | 0

Question

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

mehr als ein Jahr ago | 1 answer | 0

Question

Why are there minor differences in the creation of two time series for signal generation?

I'm making a 1000 Hz tone for presentation. MATLAB recommends creating the time series (t) this way: amp=.01; %amplitude f...

etwa 2 Jahre ago | 1 answer | 0