Answered
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 years 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 years ago | 1 answer | 0

1

answer

Discussion


What's everyone doing today?
Chen, Rena, and I are at a community management event. It's great to be with others talking about relationships, trust, and co-c...

2 years ago | 7

Answered
Read data from channel twice a day
You need three TimeControls that call thee MATLAB Analytics scripts (thingSpeakRead / thingSpeakWrite) and then one final MATLAB...

2 years ago | 0

Answered
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 years ago | 3

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

2 years ago | 1

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

2 years ago | 2

| accepted

Discussion


22 Years of the MATLAB Central community!
Here's a screenshot from 22 years ago. Thanks for building one of the best engineering and science communities together.

2 years ago | 14

Published


Edit ThingSpeak Code Easier in MATLAB Online
If you want to upgrade your ThingSpeak capabilities, have a look at the ThingSpeak repository of template codes that open...

2 years ago

Thumbnail

Discussion


MATLAB EXPO 2023: Sign up now for free
MATLAB EXPO is coming up soon and it is time to register. It's free and open to everyone. You will have the opportunity to conne...

2 years ago | 9

Discussion


Try Dark Mode in the MATLAB Desktop Beta
Please use the feedback button in the MATLAB Desktop beta to send us your feedback, input, and experience. Enjoy!

3 years ago | 20

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

3 years ago | 0

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

3 years ago | 9

| accepted

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

3 years ago | 1

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

3 years ago | 0

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

3 years ago | 1

Published


The Slovak University of Technology Fosters Project-Based Learning Using ThingSpeak in Industrial IoT Course
“MATLAB and ThingSpeak extended tools necessary for remote learning and technologies covered by our course. Project-based...

3 years ago

Thumbnail

Published


Professor at Arizona State Uses MATLAB and ThingSpeak to Introduce Students to AI and IoT
Professor Chao Wang at Arizona State University recently introduced a course on AI and IoT to first-year engineering...

3 years ago

Thumbnail

Answered
won't let me in!!
Try this Answer: https://www.mathworks.com/matlabcentral/answers/99067-why-do-i-receive-license-manager-error-9

3 years ago | 0

Answered
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

3 years ago | 0

Answered
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

3 years ago | 0

Solved


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

3 years ago

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

3 years ago | 1

Answered
If I have Matlab trial version can i use matlab online ?
Try accessing MATLAB Online directly: https://matlab.mathworks.com/

3 years ago | 0

Published


New Feature: ThingSpeak Now Supports Images
Many users have asked, and it’s finally here: Your devices can upload images to ThingSpeak! With this new feature, you can...

3 years ago

Thumbnail

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

3 years ago | 0

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

3 years ago | 1

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

3 years ago | 0

Discussion


Livestream Event - Car Suspension Analysis | May 26 @11am EST on YouTube
Join us live on May 26 at 11am for another Livestream Event on YouTube. We welcome Brian Buechel and Nikola Trica as this week'...

3 years ago | 7

Answered
how do i get the color gray
As others have pointed out, gray is the result of the Red, Green, and Blue values being equal somewhere between 0 and 1 where bl...

3 years ago | 6

| accepted

Load more