Month: July 2024
Compiled App running extremely slow in the MATLAB runtime environment
Hello
I composed a code on Ubuntu Desktop 22.04LTS using Matlab R2024a, and it takes 236 seconds to execute.
Then i compiled it into a linux app and install Matlab runtime 2024a on the same computer (bare metal, not virtual machine, i7-6790K, 16GB RAM),
but the app executed extremely slow with the Matlab runtime, after serveral loops, its outputs seens stopped, but the thread is still running.
I didn’t using Parallel Computing Toolbox in my code.Hello
I composed a code on Ubuntu Desktop 22.04LTS using Matlab R2024a, and it takes 236 seconds to execute.
Then i compiled it into a linux app and install Matlab runtime 2024a on the same computer (bare metal, not virtual machine, i7-6790K, 16GB RAM),
but the app executed extremely slow with the Matlab runtime, after serveral loops, its outputs seens stopped, but the thread is still running.
I didn’t using Parallel Computing Toolbox in my code. Hello
I composed a code on Ubuntu Desktop 22.04LTS using Matlab R2024a, and it takes 236 seconds to execute.
Then i compiled it into a linux app and install Matlab runtime 2024a on the same computer (bare metal, not virtual machine, i7-6790K, 16GB RAM),
but the app executed extremely slow with the Matlab runtime, after serveral loops, its outputs seens stopped, but the thread is still running.
I didn’t using Parallel Computing Toolbox in my code. matlab runtime, matlab, matlab compiler MATLAB Answers — New Questions
How to fix it standalone application problem error during packaging in matlab R2014a please any have correct solution for such error
When I type command in command prompt is Error using mcc
Test checkout of feature ‘Compiler’ failed and when I convert .m file to standalone application it’s showing error and open and file log with showing error this oneWhen I type command in command prompt is Error using mcc
Test checkout of feature ‘Compiler’ failed and when I convert .m file to standalone application it’s showing error and open and file log with showing error this one When I type command in command prompt is Error using mcc
Test checkout of feature ‘Compiler’ failed and when I convert .m file to standalone application it’s showing error and open and file log with showing error this one please give me correct solution MATLAB Answers — New Questions
how to write file in PS using simulink
We are using a ZCU111 board and matlab/simulink to implement RFSoC logics. We are developing using the example on the Matlab website ( https://www.mathworks.com/help/soc/ug/ReceiveSignalWaveformUsingDDR4onXilinxRFSoCDevice.html ). There are PL and PS/processor in RFSoC. We want to create/generate data in PL and save data in PS.
Currently, a file has been created in PS. It is not the data we want, but it is writing something. However, after rebooting, it can no longer write data. Also, it is currently writing data to only one file, but we want to manage data events for multiple files. We are saving data in a set of FIFOs and are able to read it out to the computer, but we want to save this data as incrementally named files (event1, event2, etc.) on the PS system instead.
In other words, there are two questions.
Q1. How can we generate files per event in PS/processor?
Q2. How do we keep writing data to files even after a reboot in PS/processor?We are using a ZCU111 board and matlab/simulink to implement RFSoC logics. We are developing using the example on the Matlab website ( https://www.mathworks.com/help/soc/ug/ReceiveSignalWaveformUsingDDR4onXilinxRFSoCDevice.html ). There are PL and PS/processor in RFSoC. We want to create/generate data in PL and save data in PS.
Currently, a file has been created in PS. It is not the data we want, but it is writing something. However, after rebooting, it can no longer write data. Also, it is currently writing data to only one file, but we want to manage data events for multiple files. We are saving data in a set of FIFOs and are able to read it out to the computer, but we want to save this data as incrementally named files (event1, event2, etc.) on the PS system instead.
In other words, there are two questions.
Q1. How can we generate files per event in PS/processor?
Q2. How do we keep writing data to files even after a reboot in PS/processor? We are using a ZCU111 board and matlab/simulink to implement RFSoC logics. We are developing using the example on the Matlab website ( https://www.mathworks.com/help/soc/ug/ReceiveSignalWaveformUsingDDR4onXilinxRFSoCDevice.html ). There are PL and PS/processor in RFSoC. We want to create/generate data in PL and save data in PS.
Currently, a file has been created in PS. It is not the data we want, but it is writing something. However, after rebooting, it can no longer write data. Also, it is currently writing data to only one file, but we want to manage data events for multiple files. We are saving data in a set of FIFOs and are able to read it out to the computer, but we want to save this data as incrementally named files (event1, event2, etc.) on the PS system instead.
In other words, there are two questions.
Q1. How can we generate files per event in PS/processor?
Q2. How do we keep writing data to files even after a reboot in PS/processor? write file in ps/processor MATLAB Answers — New Questions
How to evaluate if my design/matlab code/algorithm can be dumped in controller or processor or fpga or gpu?
I would like to know how can I see what can i use for my application for example:
i am trying to do take image and do the segmentation using blob analysis to identify a object in an image or video. how to determine whether i would need a controller or microprocessor or fpga or gpu ?I would like to know how can I see what can i use for my application for example:
i am trying to do take image and do the segmentation using blob analysis to identify a object in an image or video. how to determine whether i would need a controller or microprocessor or fpga or gpu ? I would like to know how can I see what can i use for my application for example:
i am trying to do take image and do the segmentation using blob analysis to identify a object in an image or video. how to determine whether i would need a controller or microprocessor or fpga or gpu ? fpga, gpu, controller, processor MATLAB Answers — New Questions
How to put parameters in pv array?
Hello,
How can I put these parametrs do this pv array in simulink?Hello,
How can I put these parametrs do this pv array in simulink? Hello,
How can I put these parametrs do this pv array in simulink? arrays, matlab, simulink MATLAB Answers — New Questions
Is there a quick function to make an array whose elements are the sum of the row and column numbers?
Hello! This should hopefully be a quick and easy question:
Is there a function such that the output of Fun(4) would be:
[2 3 4 5;
3 4 5 6;
4 5 6 7;
5 6 7 8]
i.e. each element of the matrix is equal to its row number + its column number?
I cannot figure out a way to search this question in a concise manner, so I haven’t been able to find anything. I know this is fairly simple to code, but I’m curious if there’s an already existing function for this. Thanks!Hello! This should hopefully be a quick and easy question:
Is there a function such that the output of Fun(4) would be:
[2 3 4 5;
3 4 5 6;
4 5 6 7;
5 6 7 8]
i.e. each element of the matrix is equal to its row number + its column number?
I cannot figure out a way to search this question in a concise manner, so I haven’t been able to find anything. I know this is fairly simple to code, but I’m curious if there’s an already existing function for this. Thanks! Hello! This should hopefully be a quick and easy question:
Is there a function such that the output of Fun(4) would be:
[2 3 4 5;
3 4 5 6;
4 5 6 7;
5 6 7 8]
i.e. each element of the matrix is equal to its row number + its column number?
I cannot figure out a way to search this question in a concise manner, so I haven’t been able to find anything. I know this is fairly simple to code, but I’m curious if there’s an already existing function for this. Thanks! arrays, sum MATLAB Answers — New Questions
Windows 11 – Outlook instance is already running when computer starts up.
When Windows boots up, sometimes I can’t open Outlook 365. Typically, ending the process and restarting Outlook works. I started checking the task manager immediately on boot up, and there are times when Outlook is already running and times when it is not. If Outlook is already running, it isn’t possible to open Outlook unless the process is ended. If Outlook is not running, there are no problems.
Is there a reason Outlook is sometimes already running when first booting up Windows? I tried searching for an answer but didn’t get very far; a lot on disabling add-ons and resetting the nav pane, which doesn’t apply to my issue.
I did run a repair, and it didn’t fix this issue.
Thanks for your help.
When Windows boots up, sometimes I can’t open Outlook 365. Typically, ending the process and restarting Outlook works. I started checking the task manager immediately on boot up, and there are times when Outlook is already running and times when it is not. If Outlook is already running, it isn’t possible to open Outlook unless the process is ended. If Outlook is not running, there are no problems. Is there a reason Outlook is sometimes already running when first booting up Windows? I tried searching for an answer but didn’t get very far; a lot on disabling add-ons and resetting the nav pane, which doesn’t apply to my issue. I did run a repair, and it didn’t fix this issue. Thanks for your help. Read More
Formula to look at the dates given a condition
Hello!
I am stuck with this problem for quite some time now and I really need help.
I have this pivot table that has the product on the rows and the shipment dates on the column and the quantity in the shipment as values.
Basically, what I want to create is a formula that will get the next shipment date for each product. If the date is past then it should tell me the next date. Or there is a better way of doing this, please do share. Thank you!
Hello!I am stuck with this problem for quite some time now and I really need help. I have this pivot table that has the product on the rows and the shipment dates on the column and the quantity in the shipment as values. Basically, what I want to create is a formula that will get the next shipment date for each product. If the date is past then it should tell me the next date. Or there is a better way of doing this, please do share. Thank you! Read More
Azure Integration Services Quarterly Highlights and Insights 2024’Q2
Welcome to the second installment of our quarterly blog series featuring the latest updates and highlights from Azure Integration Services. Over the past few months, we’ve witnessed several exciting developments, from new product releases to insightful customer stories, all showcasing the continued innovation and impact of Azure Integration Services in driving digital transformation.
In this edition, we’ll revisit the key milestones and achievements that have shaped the integration landscape, empowering organizations to seamlessly connect their systems, data, and processes.
Product Announcements
Now in general availability, Azure API Center is a centralized solution that offers a unified API inventory for seamless discovery, consumption, and governance of APIs, regardless of their type, lifecycle stage, or deployment location. Looking to learn more about Azure API Center? Our introductory learning module provides a comprehensive overview, exploring the core functionalities of API Center.
With the rise in Gen AI app usage, there’s an urgent need for enterprise-wide, federated access to manage and secure endpoints. At Build, we announced the GenAI Gateway capabilities in Azure API Management to tackle these challenges for Azure OpenAI Services endpoints. As a first step, we’ve simplified the onboarding process so you can now import all Azure OpenAI endpoints into the Azure API Management platform with a single click. These endpoints will be protected by Azure API Management’s built-in managed identity authentication. For scaled workloads, we provide load balancing, rate limiting, and out-of-box observability support.
By simplifying and automating how you connect and integrate various applications, services, and data sources in the cloud, Azure Logic Apps users can create and run automated workflows with little to no code. Recent updates to the platform include new features that enhance seamless management of integration flows, simplify legacy integration, and enable efficient B2B integration. We’ve added support for zero downtime deployment scenarios in the portal (public preview for Logic Apps Standard), EDI (X12/EDIFACT) processing with built in actions (general availability), Improved Onboarding Experience on VS Code for Logic Apps Standard (general availability), and more. Click here for more technical details.
Azure Service Bus is a fully managed enterprise message broker that ensures secure and efficient delivery of data messages between different parts of your system, even when they’re disconnected or processing tasks at different speeds. Currently in preview, batch delete feature empowers customers to delete messages on the service side from an entity or the dead letter queue in batches of up to 4,000 messages.
Like an event dispatcher for your cloud, Azure Event Grid triggers actions across your applications and services in near real-time whenever something significant happens. New features are generally available that are tailored to customers who are looking for a pub-sub message broker that can enable Internet of Things (IoT) solutions using MQTT protocol and can help build event-driven applications. For more technical details on these announcements, click here.
Customer Stories: Real-world Impact, Real-world Solutions
Over the past few months, we’ve showcased inspiring customer stories highlighting the real-world impact of Azure Integration Services. These testimonials not only celebrate our users’ successes but also offer valuable insights to help you envision how our solutions can address your specific needs and deliver tangible benefits for your organization.
Kantar, a global data and consulting company, faced the challenge of a fragmented IT landscape due to multiple divisions operating independently with diverse legacy systems. This resulted in operational inefficiencies and hindered innovation. By adopting Azure Integration Services, Kantar was able to unify its IT operations, streamlining processes and data flows across divisions. This modernization effort led to increased business agility, faster time-to-market, and a more cohesive technology ecosystem.
Össur, a global leader in non-invasive orthopedic technology, aimed to consolidate its manufacturing operations onto a unified platform to improve efficiency and scalability. By leveraging Azure Integration Services, Össur successfully migrated its legacy systems to the cloud, enabling seamless data integration and automation across its manufacturing processes. This transformation resulted in a more agile and cost-effective production environment, empowering Össur to respond faster to market demands and deliver innovative products to its customers.
Events
We recently hosted a 90-minute webinar on how Azure Integration Services can empower organizations in the rapidly changing tech landscape, highlighting the essential role of seamless integration in driving innovation and growth across industries. It delved into Azure API Management’s robust security measures to protect against cyber threats while ensuring compliance. We also explored the transformative power of AI-driven integration and how Azure Integration Services can harness AI capabilities to automate tasks, unlock new opportunities, and drive innovation.
Microsoft’s Build 2024 conference, held in Seattle and online in May, showcased the GenAI Gateway Capabilities in Azure API Management. Demos showcased how API Management can be configured for authentication and authorization for OpenAI endpoint, enforcing rate limits based on OpenAI tokens used, load balancing across multiple OpenAI endpoints and more.
Shortly after Build, at the Integrate 2024 conference the Microsoft Azure Integration Services team highlighted advancements in generative AI, API management, and developer productivity.
Take Action
Azure Logic Apps Integration Service Environment (ISE) is being retired on August 31, 2024. To ensure uninterrupted service, migrate your ISE instances to Azure Logic Apps Standard as soon as possible. Check this blog for resources to help with the transition.
August 31st is also the deadline to upgrade your Azure API Management to stv2! For a detailed guide on the migration process, you can refer to our official documentation.
Stay informed on all things integration!
Stay up-to-date with the latest product announcements, events, and customer stories—check out everything going on with Azure Integration Services by following our blog!
Microsoft Tech Community – Latest Blogs –Read More
Matlab Online S3 speed: copyfile vs. websave
I benchmarked some reads from an s3 bucket via the URL and https (with websave) and via the S3 URI (via copyfile) in Matlab Online.
I performed two benchmarks. I downloaded the same 750 MB file 10 times by websave or copyfile and calculated the average time, and then I downloaded a 119.9 MB file a single time via both methods.
The stats:
750MB file read 10 times:
copyfile via s3: 38.4165 MB/sec
websave via https: 71.8340 MB/sec
119.9MB file read once:
copyfile via s3: 9.0168 MB/sec
web save via https: 27.7525 MB/sec
I was surprised to see that accessing the URL via https was faster than reading directly from the S3 bucket on Matlab Online. I thought Matlab Online ran on AWS and I had expected direct S3 access to be faster.
Can anyone comment on whether this is the expected behavior?
Thanks
SteveI benchmarked some reads from an s3 bucket via the URL and https (with websave) and via the S3 URI (via copyfile) in Matlab Online.
I performed two benchmarks. I downloaded the same 750 MB file 10 times by websave or copyfile and calculated the average time, and then I downloaded a 119.9 MB file a single time via both methods.
The stats:
750MB file read 10 times:
copyfile via s3: 38.4165 MB/sec
websave via https: 71.8340 MB/sec
119.9MB file read once:
copyfile via s3: 9.0168 MB/sec
web save via https: 27.7525 MB/sec
I was surprised to see that accessing the URL via https was faster than reading directly from the S3 bucket on Matlab Online. I thought Matlab Online ran on AWS and I had expected direct S3 access to be faster.
Can anyone comment on whether this is the expected behavior?
Thanks
Steve I benchmarked some reads from an s3 bucket via the URL and https (with websave) and via the S3 URI (via copyfile) in Matlab Online.
I performed two benchmarks. I downloaded the same 750 MB file 10 times by websave or copyfile and calculated the average time, and then I downloaded a 119.9 MB file a single time via both methods.
The stats:
750MB file read 10 times:
copyfile via s3: 38.4165 MB/sec
websave via https: 71.8340 MB/sec
119.9MB file read once:
copyfile via s3: 9.0168 MB/sec
web save via https: 27.7525 MB/sec
I was surprised to see that accessing the URL via https was faster than reading directly from the S3 bucket on Matlab Online. I thought Matlab Online ran on AWS and I had expected direct S3 access to be faster.
Can anyone comment on whether this is the expected behavior?
Thanks
Steve matlab online, s3 MATLAB Answers — New Questions
New Teams – Windows Server 2019 for remote users – Banner – ‘Please sign in again. This could be…’
New Teams – Windows Server 2019 for remote users – Banner – ‘Please sign in again. This could be a request from your IT department or Teams, or the result of a password update.’
Does anyone know how to resolve this issue? Although it says to Sign into New Teams, you can still send messages, see status and add Teams Meetings in Outlook.
I followed the MS VDI install instructions as per the below link, FSlogix is on the latest, Webview2 is installed, redirections added to xml file. Any ideas?
New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) – Microsoft Teams | Microsoft Learn
New Teams – Windows Server 2019 for remote users – Banner – ‘Please sign in again. This could be a request from your IT department or Teams, or the result of a password update.’ Does anyone know how to resolve this issue? Although it says to Sign into New Teams, you can still send messages, see status and add Teams Meetings in Outlook.I followed the MS VDI install instructions as per the below link, FSlogix is on the latest, Webview2 is installed, redirections added to xml file. Any ideas?New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) – Microsoft Teams | Microsoft Learn Read More
Email account with Apple mail
Using Apple Mail on iMac Somona 14.5
Continually being asked to enter password for email account. Have followed the instructions sent out with new authentication procedures several times and no success.
Instructions given appear to show the iPhone/iPad option and not iMac
On iMac the ‘Outlook’ icon does not come up when adding new account and have to use “Other” option to add my outlook account.
Please advise
Using Apple Mail on iMac Somona 14.5 Continually being asked to enter password for email account. Have followed the instructions sent out with new authentication procedures several times and no success.Instructions given appear to show the iPhone/iPad option and not iMacOn iMac the ‘Outlook’ icon does not come up when adding new account and have to use “Other” option to add my outlook account.Please advise Read More
Highlight series of cells if 1st or last row contains text
Hello, I have a worksheet that contains a few rows for each employee. The ID # is in column A, and column E will contain a calculated numeric value. For each employee, I would like to highlight all rows of Column A, if any rows in column E for that employee are > 0. Note that the number of rows for each employee may vary.
I’m fine doing this with either conditional formatting or a formula.
So, in the attached:
# 111 has a value of 1 in the first row, so I would like to highlight all rows in column A for that person
# 666 has a value of 2 in the last row, so I would also like to highlight all rows for that person
IDs 222,444, and 555 don’t have 0 in all rows, so nothing is highlighted for them
Hello, I have a worksheet that contains a few rows for each employee. The ID # is in column A, and column E will contain a calculated numeric value. For each employee, I would like to highlight all rows of Column A, if any rows in column E for that employee are > 0. Note that the number of rows for each employee may vary. I’m fine doing this with either conditional formatting or a formula. So, in the attached: # 111 has a value of 1 in the first row, so I would like to highlight all rows in column A for that person# 666 has a value of 2 in the last row, so I would also like to highlight all rows for that personIDs 222,444, and 555 don’t have 0 in all rows, so nothing is highlighted for them Read More
Transparency Ghosting Effect in Rendering of Ellipsoid Surfaces
I have been attempting to render ellipsoids of various scales and rotations in MATLAB using the built-in ellipsoid() function; however, I have run into repeated graphical errors when rendering these for which I have been unable to pin down a cause.
Specifically, some ellipsoids will display a sort of "ghosting" effect, in which the opacity of the ellipsoid will change suddenly despite a constant FaceAlpha value. Attached are several screenshots of the issue:
I have noticed the following patterns with the ghosting:
The ghosting effect appears to depend on window size
Ellipsoids can be fully ghosted (i.e., much more transparent than expected)
The ghosting appears to happen when one axis of the ellipsoid is much shorter than the other two
The ghosting is very dependent on the camera angle
The ghosting appears to be dependent on the rotation of the ellipsoid (I have yet to generate a single axis-aligned ellipsoid that suffers from ghosting)
The ghosting happens for a wide range of FaceAlpha values
I have tested ellipsoid generation on both Windows and Linux, as well as using both R2019b and R2024a, and all display this ghosting effect for some cases (it is not predictable when or for which view angles as far as I can tell). I am using OpenGL hardware rendering on Windows.
My questions are as follows:
What is the root cause of this issue?
Is there a workaround that will work for any orientation and size of ellipsoid?
Thank you for your time.
The following script was used to generate the ellipsoids in the images above (on a Windows machine running R2019b with OpenGL hardware rendering and Intel UHD Graphics 620 graphics unit):
% Generate a random rotation matrix
L = randn(3);
C = L * L’;
[V, ~] = eig(C);
if det(V) == -1
V(:, 2) = -V(:, 2);
end
% Ellipsoid axis sizes
D = [20, 5, 0.01];
% Generate 101 x 101 meshgrids for ellipsoid coordinates
[X, Y, Z] = ellipsoid(0, 0, 0, D(1), D(2), D(3), 100);
% Rotate ellipsoid into frame defined by rotation matrix
coords = (V * [X(:)’; Y(:)’; Z(:)’])’;
% Convert points back into meshgrids
X = reshape(coords(:, 1), size(X));
Y = reshape(coords(:, 2), size(Y));
Z = reshape(coords(:, 3), size(Z));
figure();
hold on;
surf(X, Y, Z, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘b’, ‘FaceAlpha’, 0.5);I have been attempting to render ellipsoids of various scales and rotations in MATLAB using the built-in ellipsoid() function; however, I have run into repeated graphical errors when rendering these for which I have been unable to pin down a cause.
Specifically, some ellipsoids will display a sort of "ghosting" effect, in which the opacity of the ellipsoid will change suddenly despite a constant FaceAlpha value. Attached are several screenshots of the issue:
I have noticed the following patterns with the ghosting:
The ghosting effect appears to depend on window size
Ellipsoids can be fully ghosted (i.e., much more transparent than expected)
The ghosting appears to happen when one axis of the ellipsoid is much shorter than the other two
The ghosting is very dependent on the camera angle
The ghosting appears to be dependent on the rotation of the ellipsoid (I have yet to generate a single axis-aligned ellipsoid that suffers from ghosting)
The ghosting happens for a wide range of FaceAlpha values
I have tested ellipsoid generation on both Windows and Linux, as well as using both R2019b and R2024a, and all display this ghosting effect for some cases (it is not predictable when or for which view angles as far as I can tell). I am using OpenGL hardware rendering on Windows.
My questions are as follows:
What is the root cause of this issue?
Is there a workaround that will work for any orientation and size of ellipsoid?
Thank you for your time.
The following script was used to generate the ellipsoids in the images above (on a Windows machine running R2019b with OpenGL hardware rendering and Intel UHD Graphics 620 graphics unit):
% Generate a random rotation matrix
L = randn(3);
C = L * L’;
[V, ~] = eig(C);
if det(V) == -1
V(:, 2) = -V(:, 2);
end
% Ellipsoid axis sizes
D = [20, 5, 0.01];
% Generate 101 x 101 meshgrids for ellipsoid coordinates
[X, Y, Z] = ellipsoid(0, 0, 0, D(1), D(2), D(3), 100);
% Rotate ellipsoid into frame defined by rotation matrix
coords = (V * [X(:)’; Y(:)’; Z(:)’])’;
% Convert points back into meshgrids
X = reshape(coords(:, 1), size(X));
Y = reshape(coords(:, 2), size(Y));
Z = reshape(coords(:, 3), size(Z));
figure();
hold on;
surf(X, Y, Z, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘b’, ‘FaceAlpha’, 0.5); I have been attempting to render ellipsoids of various scales and rotations in MATLAB using the built-in ellipsoid() function; however, I have run into repeated graphical errors when rendering these for which I have been unable to pin down a cause.
Specifically, some ellipsoids will display a sort of "ghosting" effect, in which the opacity of the ellipsoid will change suddenly despite a constant FaceAlpha value. Attached are several screenshots of the issue:
I have noticed the following patterns with the ghosting:
The ghosting effect appears to depend on window size
Ellipsoids can be fully ghosted (i.e., much more transparent than expected)
The ghosting appears to happen when one axis of the ellipsoid is much shorter than the other two
The ghosting is very dependent on the camera angle
The ghosting appears to be dependent on the rotation of the ellipsoid (I have yet to generate a single axis-aligned ellipsoid that suffers from ghosting)
The ghosting happens for a wide range of FaceAlpha values
I have tested ellipsoid generation on both Windows and Linux, as well as using both R2019b and R2024a, and all display this ghosting effect for some cases (it is not predictable when or for which view angles as far as I can tell). I am using OpenGL hardware rendering on Windows.
My questions are as follows:
What is the root cause of this issue?
Is there a workaround that will work for any orientation and size of ellipsoid?
Thank you for your time.
The following script was used to generate the ellipsoids in the images above (on a Windows machine running R2019b with OpenGL hardware rendering and Intel UHD Graphics 620 graphics unit):
% Generate a random rotation matrix
L = randn(3);
C = L * L’;
[V, ~] = eig(C);
if det(V) == -1
V(:, 2) = -V(:, 2);
end
% Ellipsoid axis sizes
D = [20, 5, 0.01];
% Generate 101 x 101 meshgrids for ellipsoid coordinates
[X, Y, Z] = ellipsoid(0, 0, 0, D(1), D(2), D(3), 100);
% Rotate ellipsoid into frame defined by rotation matrix
coords = (V * [X(:)’; Y(:)’; Z(:)’])’;
% Convert points back into meshgrids
X = reshape(coords(:, 1), size(X));
Y = reshape(coords(:, 2), size(Y));
Z = reshape(coords(:, 3), size(Z));
figure();
hold on;
surf(X, Y, Z, ‘EdgeColor’, ‘none’, ‘FaceColor’, ‘b’, ‘FaceAlpha’, 0.5); transparency, graphics, rendering, surfaces MATLAB Answers — New Questions
How to plot a 3D cube based if i have the coordinates of the 8 surrounding nodes?
Hello community,
I want to plot a 3d cube based on the coordinates of my geometry (8 nodes). The coordinates of my cube are:
coord=[0 0 0;
0.5 0 0;
0.5 0.5 0;
0 0.5 0;
0 0 0.5;
0.5 0 0.5;
0.5 0.5 0.5;
0 0.5 0.5;];
Thanks a lot in advance.Hello community,
I want to plot a 3d cube based on the coordinates of my geometry (8 nodes). The coordinates of my cube are:
coord=[0 0 0;
0.5 0 0;
0.5 0.5 0;
0 0.5 0;
0 0 0.5;
0.5 0 0.5;
0.5 0.5 0.5;
0 0.5 0.5;];
Thanks a lot in advance. Hello community,
I want to plot a 3d cube based on the coordinates of my geometry (8 nodes). The coordinates of my cube are:
coord=[0 0 0;
0.5 0 0;
0.5 0.5 0;
0 0.5 0;
0 0 0.5;
0.5 0 0.5;
0.5 0.5 0.5;
0 0.5 0.5;];
Thanks a lot in advance. 3d plots, cube MATLAB Answers — New Questions
Adding sigstar to grouped bar graph
Hello,
I have sets of data that is being compared within each group. However, I need to display all of the groups on one graph so I can show how differences compare across various participants. Right now, this is the graph that I have. I would like to add sigmas between various blue, red, yellow bars depending of the results of the individual participant. Does anyone know how I could possible do that?
Thank you for your time!Hello,
I have sets of data that is being compared within each group. However, I need to display all of the groups on one graph so I can show how differences compare across various participants. Right now, this is the graph that I have. I would like to add sigmas between various blue, red, yellow bars depending of the results of the individual participant. Does anyone know how I could possible do that?
Thank you for your time! Hello,
I have sets of data that is being compared within each group. However, I need to display all of the groups on one graph so I can show how differences compare across various participants. Right now, this is the graph that I have. I would like to add sigmas between various blue, red, yellow bars depending of the results of the individual participant. Does anyone know how I could possible do that?
Thank you for your time! sigstar, bargraph MATLAB Answers — New Questions
Pivot Table Date Grouping
I am trying to group dates in my PivotTable. All or most of the videos I’ve watched have said to right click & the option for grouping/ungrouping should be there. It’s not. I believe the dates are correctly formatted but I could be wrong (I did double check by going to the home tab & in the number section date was selected but I chose general & then long date & switch the country to UK). Still, I’m not getting the option. I also went to the data tab & clicked on group. Still, no option to group.
For reference I am using the web-based version of Excel via Microsoft365.
Any help would be appreciated.
I am trying to group dates in my PivotTable. All or most of the videos I’ve watched have said to right click & the option for grouping/ungrouping should be there. It’s not. I believe the dates are correctly formatted but I could be wrong (I did double check by going to the home tab & in the number section date was selected but I chose general & then long date & switch the country to UK). Still, I’m not getting the option. I also went to the data tab & clicked on group. Still, no option to group.For reference I am using the web-based version of Excel via Microsoft365.Any help would be appreciated. Read More
Admin Center is inaccessible due to a pop-up from Business Advisor
Hello community members,
Is anyone aware of the Microsoft 365 admin centre issue where Business Advisor pop-up is blocking everything. The pop-up cannot be closed and any selections within the pop-up causes a page refresh, after which the pop-up presents itself again. I have tried reaching out at answers.microsoft.com, where others have also written about it, but no solution has been seen so far.
Post 1-
Post 2-
Who will be able to provide help with this? Microsoft US support is a bot voice agent who is unable to understand the issue. Could someone in this community point me in the right direction?
Kind regards,
-Harsh
Hello community members,Is anyone aware of the Microsoft 365 admin centre issue where Business Advisor pop-up is blocking everything. The pop-up cannot be closed and any selections within the pop-up causes a page refresh, after which the pop-up presents itself again. I have tried reaching out at answers.microsoft.com, where others have also written about it, but no solution has been seen so far.Post 1-https://answers.microsoft.com/en-us/msoffice/forum/all/cant-access-ms365-account-because-business-advisor/17df0f63-8216-4346-ac01-356d5a74850f Post 2-https://answers.microsoft.com/en-us/msoffice/forum/all/microsoft-admin-center-is-stuck-on-the-intro/03e6f02e-6168-4b92-95e6-d6271b864ac1 Post 3-https://answers.microsoft.com/en-us/msoffice/forum/all/how-to-stop-business-advisor-from-locking-out-of/b3957ad2-9573-4f2c-a012-e6c348f15994 Who will be able to provide help with this? Microsoft US support is a bot voice agent who is unable to understand the issue. Could someone in this community point me in the right direction? Kind regards,-Harsh Read More
Highlight Date Cell based on proximity to todays date AND another controlling cell
Hello Everyone,
I’ve read multiple posts on this topic but did not find one that exactly worked for me so I would appreciate everyone’s help.
My workbook currently uses conditional formatting to color-fill rows based on the value of column H. I also want to add the following date cell highlights into the mix if possible.
If employee is on “LOA-Active” (column H), I want date in column L to highlight YELLOW 1 week prior to their return date (column L) to show employee will be returning back from leave in the next week.
If employee is on “LOA – Active” (column H), I want date in column L to highlight RED once the date listed in column L has passed to show employee has not returned from leave
If employee is scheduled for a future leave “LOA – Future” (column H), I want date in column K to highlight yellow 1 week prior to date in K to show they will be going out on leave soon.
I need the controlling cell to be column H as “LOA-Active” highlights Column L whereas “LOA-Future” highlights column K. Once an employee returns from leave column H is marked as “LOA-Returned”, then moved to the very bottom of the spreadsheet. I want the column L highlights to then disappear.
That sounds like a lot once I typed it all out…….Your help is so much appreciated.
Hello Everyone, I’ve read multiple posts on this topic but did not find one that exactly worked for me so I would appreciate everyone’s help. My workbook currently uses conditional formatting to color-fill rows based on the value of column H. I also want to add the following date cell highlights into the mix if possible. If employee is on “LOA-Active” (column H), I want date in column L to highlight YELLOW 1 week prior to their return date (column L) to show employee will be returning back from leave in the next week.If employee is on “LOA – Active” (column H), I want date in column L to highlight RED once the date listed in column L has passed to show employee has not returned from leaveIf employee is scheduled for a future leave “LOA – Future” (column H), I want date in column K to highlight yellow 1 week prior to date in K to show they will be going out on leave soon. I need the controlling cell to be column H as “LOA-Active” highlights Column L whereas “LOA-Future” highlights column K. Once an employee returns from leave column H is marked as “LOA-Returned”, then moved to the very bottom of the spreadsheet. I want the column L highlights to then disappear. That sounds like a lot once I typed it all out…….Your help is so much appreciated. Read More
Unable to join Teams video Meeting Macbook
I’m using Microsoft Teams app on early 2015 Macbook Pro running Monterrey OS. Unable to join a video meeting with 3rd party. App gives me error The account you’re using doesn’t have access to this meeting due to org policies. Use Teams on your browser to join without using an account.” When I try the browser version it wants to log automatically into an older account (not the one on the invite). I log out and it immediately logs me back in to the older account. I can’t make the web version give me a non logged in state or log into the newer account.
The invite is on my gmail account and is synced to both Apple Calendar and Outlook Calendar. I thought that would make the invite populate to Teams Calendar but no luck. Don’t know if that would solve it anyway.
I’m at my wit’s end. Please help. 🙁
I’m using Microsoft Teams app on early 2015 Macbook Pro running Monterrey OS. Unable to join a video meeting with 3rd party. App gives me error The account you’re using doesn’t have access to this meeting due to org policies. Use Teams on your browser to join without using an account.” When I try the browser version it wants to log automatically into an older account (not the one on the invite). I log out and it immediately logs me back in to the older account. I can’t make the web version give me a non logged in state or log into the newer account. The invite is on my gmail account and is synced to both Apple Calendar and Outlook Calendar. I thought that would make the invite populate to Teams Calendar but no luck. Don’t know if that would solve it anyway.I’m at my wit’s end. Please help. 🙁 Read More