Community Profile

photo

Walter Roberson


42.198 total contributions since 2011

I do not do free private consulting. If you want to bring my attention to something, send a link to the MATLAB Answers location.

Contact

Walter Roberson's Badges

  • Most Accepted 2018
  • Most Accepted 2017
  • 36 Month Streak
  • Most Accepted 2016
  • Most Accepted 2015
  • Most Accepted 2011
  • Most Accepted 2012
  • Most Accepted 2013
  • Thankful Level 4
  • Grand Master
  • Revival Level 4
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
why getpts doesn't give the correct points?
imshow() by default sets YDir reverse so that the "top" of the array (lowest row number) appears at the top of the screen (which...

ongeveer 3 uur ago | 0

Answered
How can I install mosek in matlab for free?
https://www.mosek.com/products/academic-licenses/ Personal academic license for mosek are free.

ongeveer 3 uur ago | 0

Answered
how do I fit a double exponential equation? there are two double exponential waveforms and I need to fit the equation into each waveform
You can use cftool with a custom equation. Be warned that sum of exponential are notoriously difficult to fit. If your initia...

ongeveer 5 uur ago | 0

| accepted

Answered
Generated figure but no plot
After your for loop psi is a scalar.

ongeveer 5 uur ago | 0

| accepted

Answered
remove rows with duplicates
need_to_delete = [false; any(ismember(YourArray(2:end,:), YourArray(1,:)),2)]; YourArray(need_to_delete, :) = [];

ongeveer 8 uur ago | 0

Answered
Unable to save file for Quiver
You can never imwrite() a graphics object, including not even if it is an image. Some kinds of graphics objects (such as images...

ongeveer 10 uur ago | 0

Answered
Error using the igrfmagn function (collecting the output)
time = 100; [mag_field_vector, hor_intensity, declinatioon, inclination, total_intensity] = deal(cell(size(time))); for i = 1:...

ongeveer 10 uur ago | 0

| accepted

Answered
Writing equations in a matrix form
For any one particular scalar k and scalar m, you can express sum_{j} sum_{i} c(i,j,k,m) in range 0 to 1 as a linear constraint....

ongeveer 10 uur ago | 0

| accepted

Answered
How to solve the following errors?
You refer to extplottingIter . We do not have enough information to know whether that is a function name or the name of a variab...

ongeveer 12 uur ago | 0

Answered
Does audioread not return a vector?
No, often audioread() does not return a vector. audioread() normally returns a 2D array with one column per channel. Note: you ...

ongeveer 12 uur ago | 0

Answered
Best way to import millions of rows of data using ODBC to connect to AS400?
https://support.office.com/en-us/article/access-specifications-0cf3c66f-9cf2-4e32-9568-98c1025bb47c Microsoft Access maximum ta...

ongeveer 12 uur ago | 0

Answered
Simple Matrix Manipulation Help
There is no solution for that. solve(A*X == B) Look at entry #11 in B, where you have a 0 where the sequence would otherwise p...

ongeveer 13 uur ago | 0

Answered
separate table data in to sub tables
G = findgroups(YourTable.name); output = splitapply(@(varargin) {table(varargin{:}, 'VariableNames', YourTable.Properties.Varia...

ongeveer 13 uur ago | 0

Answered
Format of mat file in Version R2019a
The documentation for MAT 1.0 and MAT 2.0 files is lost to history as far as I can tell. The documentation for MAT 3.0 and MAT ...

ongeveer 14 uur ago | 0

Answered
What's the difference between Matlab runtime and Matlab(R) Compiler Runtime
The 7.14 software is for applications compiled with r2010b

ongeveer 15 uur ago | 0

Answered
How can I generate reciprocal of a matrix
I suspect that you want inv(A) but possibly you want 1./A In most cases inv() is better avoided in favor of using the \ opera...

ongeveer 16 uur ago | 0

Answered
how i can save the value of two signals when they are equal
N = 14; a = zeros(1, N); b = 1; for K = 1 : length(signal_1) if signal_1(K) == signal_2(K) a(b) = signal_1(K); ...

ongeveer 24 uur ago | 1

Answered
License Manager Error -9
Yes. It is permitted to run MATLAB dual-booted on the same machine, as long as the hardware identification information matches. ...

1 dag ago | 1

| accepted

Answered
STRING ARRAY TO NUMERIC VALUES ( I want to change the array's type to plot the graph, even though I use double function or str2num that doesn't change anything and it still string)
new_frequency(1:rowRPM(1,1)) = str2double(frequency(1:rowRPM(1,1))); In the special case where you are converting all of the en...

1 dag ago | 1

Answered
How to make a matrix with negative indexes?
Modify https://www.mathworks.com/matlabcentral/fileexchange/33301-zero-based-indexable-arrays-oop-exercise Another approach is...

1 dag ago | 0

Answered
How I can repeatedly divide a binary image ?
Code for repeatedly dividing was provided at https://www.mathworks.com/matlabcentral/answers/456856-how-can-i-loop-over-a-binary...

1 dag ago | 0

Answered
Adding multiple fields and values to structure array
Provided you are setting all of the fields of data(k), then you can use data(k) = struct('PairNum', pairNum, 'level', level, 't...

1 dag ago | 1

| accepted

Answered
How does Matrix(3002:2001:1999998)=0.4 works?
It is due to linear indexing. Variables can be indexed by a single number which is the number of elements from the beginning in ...

1 dag ago | 0

Answered
How can I append the same variables on mat file?
After you have created m = matfile() then new_row_of_values = something appropriate; s = size(m, 'my_variables'); m.my_vari...

1 dag ago | 1

Answered
Recursive computation using multi gpus
No. Within any one process, in order to send commands to a different GPU, you need to select the GPU. Selecting a GPU synchroni...

1 dag ago | 0

Answered
How to create a sliding window??
Apply regionprops() to find the bounding boxes. Sort the bounding boxes by lower left corner, according to x within y (that is, ...

1 dag ago | 0

Answered
How to use sliding window technique to detect one single line
Use nlfilter() to apply nonlinear algorithms to sliding windows. That said, there are some algorithms that can be much more eff...

1 dag ago | 0

Answered
how can I compute memory usage?
You can turn on memory profiling; https://www.mathworks.com/matlabcentral/answers/214247-allocated-freed-self-memory-and-peak-me...

1 dag ago | 1

Answered
ismember 0×0 empty logical array to logic
The obvious answer would seem to be to test if isempty(A) || ~ismember(A,ID) If you were hoping there were a hidden preferenc...

1 dag ago | 0

Answered
How do I write this equation in Matlab?
There is a trick to solving inequalities: convert them to equalities. P/R < 1 implies P < R implies P + dP == R for some posit...

1 dag ago | 0

Load more