photo

Adam Drake


Last seen: 1 year ago Active since 2021

Followers: 0   Following: 0

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
what is the issue with my Fuzzy inference system (FIS) code?
https://www.mathworks.com/help/fuzzy/clustering.fcmoptions.html The "Display" option should be "Verbose" according to the doc...

1 year ago | 1

Answered
How to make a tif stack into a meshgrid?
Review the documentation for imread: https://www.mathworks.com/help/matlab/ref/imread.html Specifically, the example wit...

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 1

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 1

| accepted

Answered
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',...

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

Question


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

3 years ago | 1 answer | 0

1

answer