
Walter Roberson
I do not do free private consulting. If you want to bring my attention to something, send a link to the MATLAB Answers location. I am currently caught up to T0099119; if you are waiting on a reply from me for an older issue, please send me a reminder.
C, MATLAB, Shell, Perl, Fortran
Spoken Languages:
English
Statistics
RANK
1
of 257,826
REPUTATION
122,221
CONTRIBUTIONS
34 Questions
54,779 Answers
ANSWER ACCEPTANCE
52.94%
VOTES RECEIVED
15,897
RANK
of 17,768
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
how to extract the watermark after decryption. please help I am getting an error in watermark extraction steps. Thank you in advance
for i=1:1:70000 x(i+1)=l*x(i)*(1-x(i))+b*y(i)*y(i)*x(i)+a*z(i)*z(i)*z(i); y(i+1)=l*y(i)*(1-y(i))+b*z(i)*z(i)*y(i)+a...
10 hours ago | 0
Iterative solution to approach desired value
fzero() or fsolve(). If you need to be able to look at the complete source code then https://www.mathworks.com/matlabcentral...
11 hours ago | 0
Matlab gives back ''symsum'' formula but not a value
Wolframalpha calculates the first sum numerically, not able to find a closed form for it. What reason do you have to expect t...
11 hours ago | 0
Baseline Criteria: How to read discrete data from excel rather than continuous data.
https://www.mathworks.com/help/simulink/slref/fromspreadsheet.html configure Interpolation to "zero order hold"
16 hours ago | 0
Image file saving location
outdir = 'C:\Users\leehj\Desktop\aaa'; for i = 1:5 h = imagesc(X, Y, Z(:,:,i)); xlim([-2 2]); ylim([-1 1]); fname ...
17 hours ago | 0
| accepted
Can I use the Guide function of MATLAB to create GUI in Raspberry Pi?
No, not a chance. What is supported for the Raspberry Pi is to use Simulink to send images (possibly computed) to the Raspberry...
20 hours ago | 0
| accepted
So i have a vector of [1x2e6] of frequency data , so I would like to create a loop so that it stores 10 0.1ms (millisecond) this frequency data and fprint it.
Number_per_group = 10; in_groups = buffer(YourSignal, Number_per_group); fmt = [repmat('%8.5f ', 1, Number_per_group - 1), '...
20 hours ago | 0
Since when has it been possible to dot-index the output of a class method?
Since R2019b. https://www.mathworks.com/help/matlab/release-notes.html?category=language-programming&rntext=&startrelease=R2019...
21 hours ago | 2
| accepted
cant read the serial port!!!
https://www.mathworks.com/help/matlab/ref/serialport.html feof() is not defined for serialport objects. It was defined for se...
1 day ago | 0
I want to design a divider using cordic function, for high number / low number (30/2) can anyone help me.?
Do not start with i=1. Start with i being the negative of the number of bits before the decimal place. I believe that your el...
1 day ago | 0
| accepted
magnetic resonance spectroscopy imaging
* use a higher quality device with a stronger magnetic field * have the device calibrated by experts * make sure that the room...
1 day ago | 0
| accepted
plot textdata with NaN
Give up on reading the file that way. Use readable() instead.
1 day ago | 0
How can I solve this error about nargout function?
(That looks like GUIDE code) You are trying to do code generation with variable numbers of output. MATLAB Coder is not able t...
1 day ago | 0
How to plot 2D location vs corresponding data in MATLAB
You can create a triangulation object and then use trimesh() to plot the data. Or you can create a scatteredInterpolant() obj...
1 day ago | 0
Simulink fixed-step size protected variable name
"Is there any protected variable name for the Fixed-step size solver property pane that can be used in a block?" No, there is...
1 day ago | 0
Why do I receive an error message "archive is not a ZIP archive" during MATLAB installation on Linux?
In current MATLAB versions, a downloader is used that downloads archives as required; when using the downloader, the error just ...
1 day ago | 0
Error installing R2016b: archive is not a ZIP archive
In current MATLAB versions, a downloader is used that downloads archives as required; when using the downloader, the error just ...
1 day ago | 0
How can I plot the population before evaluating fitness in Matlab GA?
You cannot do that using ga() . ga() will never pass the state to the fitness function. You are also assuming that ga() is cr...
1 day ago | 0
| accepted
Now my question what should I add in that code to make the code display 0 on the values less than 0 because now with my code it goes down to the negative values.Thank you.
You should be multiplying logical conditions, not adding them.
1 day ago | 0
| accepted
Matlab keeps shutting down while my program is running
One thing I would check is for overheating <https://www.bestmaccleaner.com/mac-temperature-monitor/> I also suggest testing...
2 days ago | 0
Error in appliying split apply
Sometimes the cause of this is having used a function such as max() that operates along the first non-scalar dimension, together...
2 days ago | 0
How do I manipulate a large row and column datafile and convert each of many bytes to decimal from HEX
Use readlines(), which will return back a string array, one entry per line. Extract the appropriate indices. arrayfun() a ssca...
2 days ago | 0
elemental wise function of any kind not functioning
Give the command format long g and try again. You have format short in effect by default. format does not change the ans...
2 days ago | 1
How to get MATLAB to process the files specified in batch
You can have the code call uigetdir() if you want to prompt the user for the directory name. Or you can make the main functio...
2 days ago | 0
Help please, I want to avoid a warning message.
Upgrade your release. That title is fine in current releases. Question: why are you using \quad there? Why add space at the e...
3 days ago | 0
Index exceeds the number of array elements (63). Error in ANA (line 23) figure;plot(Xdetections(index_maxplot));
You overwrite *all* of XDetections in every iteration of the first loop.
3 days ago | 0
| accepted
why could the mathworks be unable to give me a free trial?
It is not easy to tell where you are located, but when I check, people with names very similar to yours are mostly in Mozambique...
3 days ago | 0
how to solve an equation by using trial and error method?
Multiply both sides by Mx. Subtract the left side from the right. Expand out. You now have a polynomial of degree 2 in Mx.
3 days ago | 0
How can I use mpu6050 without arduino?
The mpu6050 is an i2c device. You need *some* hardware interface, just not necessarily arduino. You could use a raspberry pi...
4 days ago | 0
How to save variables in matlab in most optimal way
fwrite() with the 'bit1' precision. For compression calculations purposes you should never be using the size of mat files. ma...
4 days ago | 0