Community Profile

# Adam Drake

Last seen: 5 months 前 自 2021 起处于活动状态

#### Content Feed

Help with if statements
"i" will always equal 4 because your for loop has no condition that will stop it from going to the end. Because "i" will always ...

6 months 前 | 0

| 已接受

Writing cell of dates to Excel file
Recommend using writecell and readcell instead. If you can't I will reinvestigate. Ex: Y = [2014;2013;2012]; M = [01;02;03]; ...

6 months 前 | 0

| 已接受

Loading excel file and creating variables for analysis
Look at "fread" and "readmatrix" in the help documentation inside of MATLAB. That should be a good starting point.

7 months 前 | 0

a file called avehighs.dat stores for three locations
clc, clear variables, close all avehighs=[432 33 37 42 45 53 72 82 79 66 55 46 41;... 777 29 33 41 46 52 66 77 88 ...

7 months 前 | 0

Splitting an edge HELP!!
Your second question was an entirely different problem. I had to vectorize the image, do a spline, then recombine. Increasing st...

7 months 前 | 0

Plot colored angle between two lines on the YZ plane
meta = [14.97, 29.84, 5.61]; meta_plan1 = [15, -10, 38.13]; meta_plan2 = [15, -10, 32.64]; linea_plan1 = [15, -10, 38.13; 14....

7 months 前 | 1

How can I change the x-axis time stamps in a spectrogram?
figure(1) subplot(2,1,1) plot(t,x) subplot(2,1,2) spectrogram(x,1024,512,1024,fs,'yaxis') xlim([t(1) t(end)]) % or set(...

7 months 前 | 0

Cannot break the while loop due to imagedatastore
What is the purpose of your while loop? I would suggest using a for loop instead of a counter OR flag app.stop_sim programatical...

7 months 前 | 0

| 已接受

How do I make a loop that will allow to add a song again and saving the previos one
Fixed your reselection problem and simplified saving to excel file. Tried to use your coding style. See comments for clarificati...

7 months 前 | 1

| 已接受

how can I add a table to a structure?
Had fun with this one. Let me know if you get it to work. clc, clear variables f1 = 'field1'; value1 = {'1','2','3','4',...

7 months 前 | 0

How to find the index value of an element in a cell array?
Had to do quite a bit of imagining without the starting data files, but I think this will set you straight. Let me know if you h...

7 months 前 | 1

| 已接受

Splitting an edge HELP!!
Almost certainly not the most efficient way to do this, but it works. load edge.mat XLim = 1:550; YLim = 300:1015; subBU...

7 months 前 | 0

| 已接受

Frequency domain convolution of system impulse response
I'm not familar with the content of your question, but I hope the graphing improvements may help you diagnose. 'j' was undefined...

7 months 前 | 0

Need legend for lines plotted with different style in for loop and if statement
clear f = figure; x = 1:0.01:10; %ft k = 1:10; b = 1:10; cmap = colormap(cool(length(k))); count = 1; for ii = 1:l...

7 months 前 | 0

i would like to plot an iterative function
xbounds = [0 1]; kbounds = [3.5 4.0]; stepsize = 0.0001; X = xbounds(1):stepsize:xbounds(2); K = kbounds(1):0.1:kbounds(2)...

7 months 前 | 0

| 已接受

Extracting rows form a matrix with indices.
% Create Matrix A: 24 x 30 A = randi(100,[24 30]); % Create Vector B: desired row indices B = [1,4,7,8,10,12]; % Create Mat...

7 months 前 | 0

System command calls different version of gdal
I am importing .hdf files programatically and need to perform some combinations and transformations using gdal. When I do these ...

2 years 前 | 1 个回答 | 0