
Hans Scharler
MathWorks
Community manger, open source program manager, maker, and coffee drinker.
Python, C, Javascript, MATLAB, Ruby, HTML, CSS, Arduino, Perl
Professional Interests:
AI for Signals and Images
Statistics
2 Files
Cody0 Problems
14 Solutions
181 Posts
ThingSpeak HighlightsRANK
397
of 284,898
REPUTATION
189
CONTRIBUTIONS
3 Questions
51 Answers
ANSWER ACCEPTANCE
33.33%
VOTES RECEIVED
71
RANK
7,769 of 19,249
REPUTATION
110
AVERAGE RATING
0.00
CONTRIBUTIONS
2 Files
DOWNLOADS
5
ALL TIME DOWNLOADS
1111
CONTRIBUTIONS
181 Posts
CONTRIBUTIONS
5 Public Channels
AVERAGE RATING
62
CONTRIBUTIONS
8 Highlights
AVERAGE NO. OF LIKES
11
Content Feed
Matlab Crash on Sonoma(macOS 14.0)
From another support article: https://www.mathworks.com/matlabcentral/answers/2044833-is-matlab-compatible-with-macos-sonoma Ma...
6 days ago | 1
How to change UI from partially Chinese to fully English on M2 Mac with R2023b?
It looks like you tried removing "Chinese, Simplified" from the preferred languages list to fix this issue. This should be a tem...
1 month ago | 0
Add column vector to the end of another column vector
A = rand(50,1); % example 50x1 vector B = rand(100,1); % example 100x1 vector C = vertcat(A,B) % concatenate A and B verticall...
1 month ago | 0
| accepted
What is vectorization? Why use vectorization instead of loops?
Vectorization is about replacing explicit loops with matrix and vector operations. This can lead to more readable and efficient ...
2 months ago | 0
| accepted
Question
What is vectorization? Why use vectorization instead of loops?
Over at Reddit, a user asked about vectorization vs. a loop. This is a fundemental concept in MATLAB. So, what is vectorization?...
2 months ago | 1 answer | 0
1
answerRead data from channel twice a day
You need three TimeControls that call thee MATLAB Analytics scripts (thingSpeakRead / thingSpeakWrite) and then one final MATLAB...
2 months ago | 0
Connecting to ChatGPT using API
I have updated my answer using the built-in webwrite function from MATLAB. % Define the prompt prompt = "What is the capital o...
2 months ago | 2
Truncated answers when querying chatgpt with Matlab
The "max_tokens" parameter limits the response from OpenAI language models. Try increasing it to 1000. parameters = struct('pr...
3 months ago | 1
matlab.net vs webwrite
There were three issues with the commented function. When you use headers for webwrite you do not have to include the ":" in th...
3 months ago | 1
| accepted
code for neutrosophic pareto distribution
Neutrosophic Pareto is a concept used in multi-objective optimization problems when some of the information about the problem is...
11 months ago | 0
Connecting to ChatGPT using API
I have been researching the davinci/completions space and have working MATLAB code using net http. Get your API Key at OpenAPI: ...
11 months ago | 9
| accepted
Too many output arguments - appdesigner
It looks like you are trying to figure out if treeplotpMenuSelected is selected. You need to check it's Value property. functio...
11 months ago | 1
how to load and read excel data into matlab?
I would take a look at "readtable" in MATLAB. filename = 'myfile.xlsx'; T = readtable(filename); https://www.mathworks.com/he...
11 months ago | 0
Websocket on mqtt.thingspeak.com port 80 still available?
The address changed for the ThingSpeak MQTT broker: mqtt3.thingspeak.com <https://www.mathworks.com/help/thingspeak/mqtt-basi...
12 months ago | 1
won't let me in!!
Try this Answer: https://www.mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9
1 year ago | 0
installing MATLAB: license checkout failed: license manage error-9. username does not match the username in the license file
Try this Answer: https://www.mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9
1 year ago | 0
License Checkout failed License manager Error -9
Try this Answer: https://www.mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9
1 year ago | 0
how to remove all variables in the workspace
You can use clear command and specifiy the variable name right in your code. newVar = 42 newVar = newVar + 3 clear newVar ...
1 year ago | 1
If I have Matlab trial version can i use matlab online ?
Try accessing MATLAB Online directly: https://matlab.mathworks.com/
1 year ago | 0
How do I get to boldface the numbers that I input?
I know some fprintf tricks for text formatting, although it might not be elegant. You can use strong inside of fprintf. outputN...
1 year ago | 0
How do I display the splash screen on Linux?
Great question... I looked in the doc for startup options on Linux: https://www.mathworks.com/help/matlab/matlab_env/start-matla...
1 year ago | 1
Can't open live edit mlx files MATLAB 2016b
This was a known bug and fixed in R2016b. If you still use older versions, there is a workaround listed in the Bug Report: https...
1 year ago | 0
how do i get the color gray
As others have pointed out, gray is the result of the Red, Green, and Blue are equal somewhere between 0 and 1 where black is [0...
1 year ago | 5
| accepted
Matlab versions supported on Windows 11?
There is a related MATLAB Answer: https://www.mathworks.com/matlabcentral/answers/1466556-are-mathworks-products-compatible-with...
2 years ago | 2
| accepted
MATLAB Stack Exchange
There are a lot of MATLAB questions on Stack Overflow. Here's a link to different MATLAB Communities: https://www.mathworks.com/...
2 years ago | 0
Professional looking Matlab FAQ
There is now a MATLAB FAQs page on MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/faqs
2 years ago | 1
Where Can I Find Reference URLS to Make Answering Questions Here Easier?
There is now a MATLAB FAQs section of MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/faqs
2 years ago | 0
How can I display just a small section of my chart?
Try setting results equal to 10, or days equal to 1. For more options, check out the ThingSpeak documentation: https://www.mathw...
2 years ago | 1
posting field values within few seconds fails
The free ThingSpeak account tier has an update rate limit of 15 seconds. You can send both field values in one update. fie...
3 years ago | 1
Question
Are you a startup?
I wanted to see if any of you are a part of a startup, represent an accelerator, or an entrepreneur. Let me know below or feel f...
3 years ago | 0 answers | 0