Contenido principal

Resultados de

A key aspect to masting MATLAB Graphics is getting a hang of the MATLAB Graphics Object Hierarchy which is essentially the structure of MATLAB figures that is used in the rendering pipeline. The base object is the Graphics Root (see groot) which contains the Figure. The Figure contains Axes or other containers such as a Tiled Chart Layout (see tiledlayout). Then these Axes can contain graphics primatives (the objects that contain data and get rendered) such as Lines or Patches.
Every graphics object has two important properties, the "Parent" and "Children" properties which can be used to access other objects in the tree. This can be very useful when trying to customize a pre-built chart (such as adding grid lines to both axes in an eye diagram chart) or when trying to access the axes of a non-current figure via a primative (so "gca" doesn't help out).
One last Tip and Trick with this is that you can declare graphics primatives without putting them on or creating an Axes by setting the first input argument to "gobjects(0)" which is an empty array of placeholder graphics objects. Then, when you have an Axes to plot the primitive on and are ready to render it, you can set the "Parent" of the object to your new Axes.
For Example:
l = line(gobjects(0), 1:10, 1:10);
...
...
...
l.Parent = gca;
Practicing navigating and exploring this tree will help propel your understanding of plotting in MATLAB.
Mike Croucher
Mike Croucher
Última actividad el 29 de En. de 2024

One of my colleauges, Michio, recently posted an implementation of Pong Wars in MATLAB
Making me wonder about variations. What might the resulting patterns look with differing numbers of balls? Different physics etc?
Arild
Arild
Última actividad el 9 de Sept. de 2024

Some years ago I installed a IOBridge IO-204 device from https://iobridge.com/
This was used to remotely control and monitor heating of a building trough the "ioApp" or trough the widgets on their webpage.
Seems like the support for the app and the IObridge webpage (including widgets) is discontinued and the webpage now links to ThingSpeak without any further information.
I cannot find any information about using ThingSpeak to communicate and control an ioBridge IO-204 device?
If it is possible I would really appreciate some help getting starter to do the setup.
Thanks in advance.
Hans Scharler
Hans Scharler
Última actividad el 29 de En. de 2024

We are excited to unveil the ‘Open in MATLAB Online from File Exchange’ feature, which offers MATLAB users a new way to open File Exchange content!
Previously, to experiment with File Exchange code, you were required to download the file and execute it in MATLAB. But now, there's a quicker and easier way to explore the code!
You will find the ‘Open in MATLAB Online’ button next to the ‘Download’ button (see the screenshot below). A simple click transports you directly into the MATLAB Online workflow. It's that straightforward and effortless.
We strongly encourage you to try this new feature. Please share your questions, comments, or ideas by responding to this post!
Jaume Nin
Jaume Nin
Última actividad el 20 de En. de 2024

Buenas noches. Tengo una estación meteorológica contruida con Arduino, desde hace 4 años y funcionando perfectamente, y veo los datos mediante ThingSpeak. El problema es el que se ve en la imagen:
La méteo, gestionada por una placa Arduino Wemos D1 Mini Pro, una placa solar, una batería y un sensor BME280, funciona cada hora. És decir, está hivernando y cada hora, durante un breve lapso de tiempo, despierta y emite los datos. ThingSpeak los envía a mi ordenador. El problema es que durante 4 años, ha estado enviando, cada hora, una sola lectura de los datos, però ahora envía dos o tres datos con minutos de diferencia, con lo que la lectura y procesamiento de estos datos, se ha vuelto inestable.
No se si es debido a una reinstalación del sistema operativo, debido a un problema que he tenido con el SO, o a qué, pero quisiera volver a ver los datos de forma única, un solo dato cada hora. He sustituido la placa Arduino por otra, pero el problema persiste sin solucionarse, con lo que deduzco que posoblemente deba atribuirse al programa ThingSpeak.
Sería posible solucionar este problema? Hay alguna manera de acceder a modificar, específicamente, esta configuración para volver a mostrar únicamente una lectura por hora?
Gracias por la atención y la ayuda
Salu2 cordiales
Thomas Lowell
Thomas Lowell
Última actividad el 22 de Mzo. de 2024

I'd like to give someone quick access to a private channel via a URL. Basically, I'd like to place a QR code sticker on the device so that any time they want, they can quickly check out how the device data is trending by pointing their cell phone camera at the QR code and clicking. Ez-peezie. This works with a public channel because no authentication is required,
Is there a way to do this with a private channel? I was hoping I could add their email address to the sharing tab for the channel and then, after they had logged into Thingspeak on their phone with their own account, perhaps their browser state would be retained and when the camera launched a browser tab with the url, it would work. But alas, I've probably over-simplied the credentials aspect betwen the camera app and the brower app. At least it doesn't seem to work with Safari or Chrome on IOS.
Does anyone know of an easy way (easy for the end user) to make this work?
Over at Reddit, a MATLAB user asked about when to use a script vs. a live script. How would you answer this?
It is not possible to link ThingTweet with Twitter. When I authorize through "Authorize ThingTweet to access your account?", it says "Redirecting you back to the application. This may take a few moments" and logout in thingtweet. Its looping. How to fix this issue?
It didn't work even after deleting cookies or trying with MS edge browser as detailed here
https://www.mathworks.com/matlabcentral/discussions/thingspeak/794152-cannot-signin-to-thingspeak/2519972
Starting with MATLAB can be daunting, but the right resources make all the difference. In my experience, the combination of MATLAB Onramp and Cody offers an engaging start.
MATLAB Onramp introduces you to MATLAB's basic features and workflows. Then practice your coding skill on Cody. Challenge yourself to solve 1 basic problem every day for a month! This consistent practice can significantly enhance your proficiency.
What other resources have helped you on your MATLAB journey? Share your recommendations and let's create a comprehensive learning path for beginners!
stefano
stefano
Última actividad el 7 de Ag. de 2025

Sending temperature and humidity values to a thingSpeak channel using a NodeMCU(esp8266) and the ThingSpeak library. The problem is that the graphs do not update dynamically even if values are sent and received regularly. To update the graphs I have to refresh the page every time. The numeric displays and other widgets update regularly. How can I solve the problem?
sky
sky
Última actividad el 18 de En. de 2024

I'm having problem in its test 6 ... passing 5/6 what would be the real issue..
am wring Transformation matrix correct.. as question said SSW should be 202.5 degree...
so what is the issue..
Hello, Community Members!
Every day, we witness the incredible exchange of knowledge as over 100,000 users visit our community for answers or to get some code. We have such a vibrant community because of the dedicated group of contributors who volunteer their time and expertise to help one another.
We learned that many community users are looking for different ways to show their appreciation to contributors. In response, we're thrilled to announce the launch of our latest feature – Skill Endorsements.
When you visit a contributor's profile page, you'll notice a brand-new 'Endorsements' tab. Here, you have the power to acknowledge the skills of your fellow members by either endorsing a new skill or bolstering existing ones.
But it's more than just saying "thank you." By highlighting the strengths of our members, you're contributing to an environment of trust and making it easier for users to connect with experts in specific areas.
So, take a moment to reflect: Who has made a difference in your community experience? Whose expertise has guided you through a challenge? Show your appreciation and support their contributions – start endorsing skills today!
Your participation makes all the difference.
Warm regards,
MATLAB Central Community Team
I would tell myself to understand vectorization. MATLAB is designed for operating on whole arrays and matrices at once. This is often more efficient than using loops.
James
James
Última actividad el 10 de En. de 2024

I cannot get any of my charts to be interactive using matlab. I need to be able to zoom into a chart and I cannot get any interactivity. In its purest from shouldnt this allow me to zoom into a chart?
plot(time, data);
% Enable zooming
zoom on;
(free account)
Alexander
Alexander
Última actividad el 10 de En. de 2024

Ich habe das Problem das ich immer nur 1 Tag aufzeichnen kann (siehe Anhang), obwohl ich den Parameter au 15 tage gestellt habe.
Frederic Lhoest
Frederic Lhoest
Última actividad el 11 de En. de 2024

Dear Community,
Since few weeks it looks like I have lost the ability to move cards order in the channel view. I used to be able to to so.
I tried with different browser and even on mobile and it does not work anymore. Did missed something ? Is this feature been removed ?
Thanks.
Tengo semanas trabajando con la app y al subir informacion me aparece que la ultima entrada fue hace menos de un minuto pero las gráficas no se actualizan, ya intente abrir la app desde diferentes navegadores,y dispositivos, en modo incognito, desabilitar extenciones y no obtengo resultados.
Graham
Graham
Última actividad el 10 de En. de 2024

I am trying t set up a cellular Particle Boron and Sensor to track my well water levels but the data is not showing up in Thingspeak. I have activated and flashed code to the device, created a Particle account, a Thingspeak account (and channel), and a Webhook. Things mostly work as they should and I can even see the data from the sensor in my Particle Console "Events", but nothing seems to arrive in the Thingspeak Channel. I am looking for technical advice.
Graham