Month: June 2024
Any recommended UI/UX framework?
Hi,
I am new to .net. May I know if there is any UI/UX framework that is good for .net webpage with search criteria? I would like to have a textbox with the following input methods:
– Exact text match
– Wildchars *
– Copy and paste the list
– Enter number range
Thank you!
Hi,I am new to .net. May I know if there is any UI/UX framework that is good for .net webpage with search criteria? I would like to have a textbox with the following input methods:- Exact text match- Wildchars *- Copy and paste the list- Enter number range Thank you! Read More
Azure Automation Managed Integration – No Enterprise App created
I have created an Azure Automation and configured system assigned managed identity.
To manage permissions etc I thought, based on what I read
, from others that I will get an Enterprise App application, but can’t find it.
I have created an Azure Automation and configured system assigned managed identity. To manage permissions etc I thought, based on what I read, from others that I will get an Enterprise App application, but can’t find it. Read More
Azure SQL Managed Instance: Supercharged for 2024 and Beyond
Zone-Redundant Configuration (Preview): Disaster recovery just got easier. Currently, in preview for general-purpose instances, zone redundancy adds an extra layer of protection against regional outages. Exciting Previews on the Horizon Azure SQL Database Copilot (Private Preview): Bid farewell to complex queries!
Cross-Subscription Database Mobility: This feature enables you to perform database operations across managed instances. It creates a new database on the destination instance either as a copy or by moving the source database. When copying, the source database remains online, but when moving, it gets dropped after completion.
Keep an Eye Out for Azure SQL Database Copilot (Private Preview): Say goodbye to complex queries! This innovative preview integrates natural language processing with SQL Server and Azure Copilot, offering an intuitive way to write and optimize your queries.
To learn more about
Azure SQL Managed Instance, SqlManagement Service Tag, Copy or move a database,
Zone-Redundant Configuration (Preview): Disaster recovery just got easier. Currently, in preview for general-purpose instances, zone redundancy adds an extra layer of protection against regional outages. Exciting Previews on the Horizon Azure SQL Database Copilot (Private Preview): Bid farewell to complex queries! Cross-Subscription Database Mobility: This feature enables you to perform database operations across managed instances. It creates a new database on the destination instance either as a copy or by moving the source database. When copying, the source database remains online, but when moving, it gets dropped after completion. Keep an Eye Out for Azure SQL Database Copilot (Private Preview): Say goodbye to complex queries! This innovative preview integrates natural language processing with SQL Server and Azure Copilot, offering an intuitive way to write and optimize your queries. To learn more aboutAzure SQL Managed Instance, SqlManagement Service Tag, Copy or move a database, Read More
How to make reusable a c2000 Embedded Coder block?
Hello,
I’m using Simulink blocks from "Embedded Coder Support Package for Texas Instruments C2000 Processors/F2837xD" library, however, when trying to control a GPIO from two different subsystems (which occurs not simultaneously) I get an error message when trying to compile since the block is not reusable. How can I do it reusable?
I’ve read something about "SS_OPTION_WORKS_WITH_CODE_REUSE" but I don’t know how to make specific blocks reusable, like the next one.
Thank you very much.
Best regards.Hello,
I’m using Simulink blocks from "Embedded Coder Support Package for Texas Instruments C2000 Processors/F2837xD" library, however, when trying to control a GPIO from two different subsystems (which occurs not simultaneously) I get an error message when trying to compile since the block is not reusable. How can I do it reusable?
I’ve read something about "SS_OPTION_WORKS_WITH_CODE_REUSE" but I don’t know how to make specific blocks reusable, like the next one.
Thank you very much.
Best regards. Hello,
I’m using Simulink blocks from "Embedded Coder Support Package for Texas Instruments C2000 Processors/F2837xD" library, however, when trying to control a GPIO from two different subsystems (which occurs not simultaneously) I get an error message when trying to compile since the block is not reusable. How can I do it reusable?
I’ve read something about "SS_OPTION_WORKS_WITH_CODE_REUSE" but I don’t know how to make specific blocks reusable, like the next one.
Thank you very much.
Best regards. embedded coder, c2000 embedded coder MATLAB Answers — New Questions
Make an image darker with overlay of another image
Hello,
I have two images I read into matrices that are displayed with imagesc. I was wondering if there’s a way to darken one image using the other image (like I could in Photoshop by using the darken overlay feature). I’ve looked into a few options, like imfuse, but haven’t had much luck. Any suggestions?Hello,
I have two images I read into matrices that are displayed with imagesc. I was wondering if there’s a way to darken one image using the other image (like I could in Photoshop by using the darken overlay feature). I’ve looked into a few options, like imfuse, but haven’t had much luck. Any suggestions? Hello,
I have two images I read into matrices that are displayed with imagesc. I was wondering if there’s a way to darken one image using the other image (like I could in Photoshop by using the darken overlay feature). I’ve looked into a few options, like imfuse, but haven’t had much luck. Any suggestions? image processing MATLAB Answers — New Questions
What is the problem in my code? Lambert-W function
I’m trying to solve a non-linear system of equations using Newton-Raphson method. The problem is in section 2.1 from this paper:
https://www.sciencedirect.com/science/article/pii/S0038092X14006094#t0010
It goes only up to the second iteration, and I got incorrect answer.
I used these values for iN and VN (N=1,2,3,4,5). V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
I used a = Iph, b = I0, f = n, c = Rs, d = Rsh, Vth = 0.0258
Here’s my code:
clear all; clc;
N = 20;
tErr = 1e-6;
syms a b c d f
V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
m1 = d*(-i1 + a + b)/(0.0258*f); m2 = d*(-i2 + a + b)/(0.0258*f); m3 = d*(-i3 + a + b)/(0.0258*f); m4 = d*(-i4 + a + b)/(0.0258*f);
m5 = d*(-i5 + a + b)/(0.0258*f); n = .0258*f; k = b*d/n;
f1 = -i1*c-i1*d+a*d-n*lambertw(b*d*exp(m1)/n)-V1;
f2 = -i2*c-i2*d+a*d-n*lambertw(b*d*exp(m2)/n)-V2;
f3 = -i3*c-i3*d+a*d-n*lambertw(b*d*exp(m3)/n)-V3;
f4 = -i4*c-i4*d+a*d-n*lambertw(b*d*exp(m4)/n)-V4;
f5 = -i5*c-i5*d+a*d-n*lambertw(b*d*exp(m5)/n)-V5;
fs = [f1; f2; f3; f4; f5];
xs = [a; b; f; c; d];
jac = [d/lambertw(b*d*exp(m1)/n), -(n*lambertw(b*d*exp(m1)/n)-b*d)/(b*(1+lambertw(b*d*exp(m1)/n))), lambertw(b*d*exp(m1)/n)*(-n*lambertw(b*d*exp(m1)/n)-i1*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m1)/n))), -i1, -(n*lambertw(b*d*exp(m1)/n)+i1*d-a*d-b*d)/((1+lambertw(b*d*exp(m1)/n))*d);
d/lambertw(b*d*exp(m2)/n), -(n*lambertw(b*d*exp(m2)/n)-b*d)/(b*(1+lambertw(b*d*exp(m2)/n))), lambertw(b*d*exp(m2)/n)*(-n*lambertw(b*d*exp(m2)/n)-i2*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m2)/n))), -i2, -(n*lambertw(b*d*exp(m2)/n)+i2*d-a*d-b*d)/((1+lambertw(b*d*exp(m2)/n))*d);
d/lambertw(b*d*exp(m3)/n), -(n*lambertw(b*d*exp(m3)/n)-b*d)/(b*(1+lambertw(b*d*exp(m3)/n))), lambertw(b*d*exp(m3)/n)*(-n*lambertw(b*d*exp(m3)/n)-i3*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m3)/n))), -i3, -(n*lambertw(b*d*exp(m3)/n)+i3*d-a*d-b*d)/((1+lambertw(b*d*exp(m3)/n))*d);
d/lambertw(b*d*exp(m4)/n), -(n*lambertw(b*d*exp(m4)/n)-b*d)/(b*(1+lambertw(b*d*exp(m4)/n))), lambertw(b*d*exp(m4)/n)*(-n*lambertw(b*d*exp(m4)/n)-i4*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m4)/n))), -i4, -(n*lambertw(b*d*exp(m4)/n)+i4*d-a*d-b*d)/((1+lambertw(b*d*exp(m4)/n))*d);
d/lambertw(b*d*exp(m5)/n), -(n*lambertw(b*d*exp(m5)/n)-b*d)/(b*(1+lambertw(b*d*exp(m5)/n))), lambertw(b*d*exp(m5)/n)*(-n*lambertw(b*d*exp(m5)/n)-i5*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m5)/n))), -i5, -(n*lambertw(b*d*exp(m5)/n)+i5*d-a*d-b*d)/((1+lambertw(b*d*exp(m5)/n))*d)];
x = [1.2; 0.001; 1.5; 1; 15];
for i=1:N
f = double(subs(fs, xs, x));
j = double(subs(jac, xs, x));
x = x – inv(j)*f;
err = abs(inv(j)*f);
if(err<tErr)
break;
end
end
display(x);I’m trying to solve a non-linear system of equations using Newton-Raphson method. The problem is in section 2.1 from this paper:
https://www.sciencedirect.com/science/article/pii/S0038092X14006094#t0010
It goes only up to the second iteration, and I got incorrect answer.
I used these values for iN and VN (N=1,2,3,4,5). V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
I used a = Iph, b = I0, f = n, c = Rs, d = Rsh, Vth = 0.0258
Here’s my code:
clear all; clc;
N = 20;
tErr = 1e-6;
syms a b c d f
V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
m1 = d*(-i1 + a + b)/(0.0258*f); m2 = d*(-i2 + a + b)/(0.0258*f); m3 = d*(-i3 + a + b)/(0.0258*f); m4 = d*(-i4 + a + b)/(0.0258*f);
m5 = d*(-i5 + a + b)/(0.0258*f); n = .0258*f; k = b*d/n;
f1 = -i1*c-i1*d+a*d-n*lambertw(b*d*exp(m1)/n)-V1;
f2 = -i2*c-i2*d+a*d-n*lambertw(b*d*exp(m2)/n)-V2;
f3 = -i3*c-i3*d+a*d-n*lambertw(b*d*exp(m3)/n)-V3;
f4 = -i4*c-i4*d+a*d-n*lambertw(b*d*exp(m4)/n)-V4;
f5 = -i5*c-i5*d+a*d-n*lambertw(b*d*exp(m5)/n)-V5;
fs = [f1; f2; f3; f4; f5];
xs = [a; b; f; c; d];
jac = [d/lambertw(b*d*exp(m1)/n), -(n*lambertw(b*d*exp(m1)/n)-b*d)/(b*(1+lambertw(b*d*exp(m1)/n))), lambertw(b*d*exp(m1)/n)*(-n*lambertw(b*d*exp(m1)/n)-i1*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m1)/n))), -i1, -(n*lambertw(b*d*exp(m1)/n)+i1*d-a*d-b*d)/((1+lambertw(b*d*exp(m1)/n))*d);
d/lambertw(b*d*exp(m2)/n), -(n*lambertw(b*d*exp(m2)/n)-b*d)/(b*(1+lambertw(b*d*exp(m2)/n))), lambertw(b*d*exp(m2)/n)*(-n*lambertw(b*d*exp(m2)/n)-i2*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m2)/n))), -i2, -(n*lambertw(b*d*exp(m2)/n)+i2*d-a*d-b*d)/((1+lambertw(b*d*exp(m2)/n))*d);
d/lambertw(b*d*exp(m3)/n), -(n*lambertw(b*d*exp(m3)/n)-b*d)/(b*(1+lambertw(b*d*exp(m3)/n))), lambertw(b*d*exp(m3)/n)*(-n*lambertw(b*d*exp(m3)/n)-i3*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m3)/n))), -i3, -(n*lambertw(b*d*exp(m3)/n)+i3*d-a*d-b*d)/((1+lambertw(b*d*exp(m3)/n))*d);
d/lambertw(b*d*exp(m4)/n), -(n*lambertw(b*d*exp(m4)/n)-b*d)/(b*(1+lambertw(b*d*exp(m4)/n))), lambertw(b*d*exp(m4)/n)*(-n*lambertw(b*d*exp(m4)/n)-i4*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m4)/n))), -i4, -(n*lambertw(b*d*exp(m4)/n)+i4*d-a*d-b*d)/((1+lambertw(b*d*exp(m4)/n))*d);
d/lambertw(b*d*exp(m5)/n), -(n*lambertw(b*d*exp(m5)/n)-b*d)/(b*(1+lambertw(b*d*exp(m5)/n))), lambertw(b*d*exp(m5)/n)*(-n*lambertw(b*d*exp(m5)/n)-i5*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m5)/n))), -i5, -(n*lambertw(b*d*exp(m5)/n)+i5*d-a*d-b*d)/((1+lambertw(b*d*exp(m5)/n))*d)];
x = [1.2; 0.001; 1.5; 1; 15];
for i=1:N
f = double(subs(fs, xs, x));
j = double(subs(jac, xs, x));
x = x – inv(j)*f;
err = abs(inv(j)*f);
if(err<tErr)
break;
end
end
display(x); I’m trying to solve a non-linear system of equations using Newton-Raphson method. The problem is in section 2.1 from this paper:
https://www.sciencedirect.com/science/article/pii/S0038092X14006094#t0010
It goes only up to the second iteration, and I got incorrect answer.
I used these values for iN and VN (N=1,2,3,4,5). V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
I used a = Iph, b = I0, f = n, c = Rs, d = Rsh, Vth = 0.0258
Here’s my code:
clear all; clc;
N = 20;
tErr = 1e-6;
syms a b c d f
V1 = 1.00400400e+00; V2 = 1.02598500e+00; V3 = 1.05325500e+00; V4 = 1.08812300e+00; V5 = 1.13388700e+00; i1 = -2.40036700e-02; i2 = -3.59849700e-02; i3 = -5.32552100e-02; i4 = -7.81225600e-02 ; i5 = -1.13887200e-01;
m1 = d*(-i1 + a + b)/(0.0258*f); m2 = d*(-i2 + a + b)/(0.0258*f); m3 = d*(-i3 + a + b)/(0.0258*f); m4 = d*(-i4 + a + b)/(0.0258*f);
m5 = d*(-i5 + a + b)/(0.0258*f); n = .0258*f; k = b*d/n;
f1 = -i1*c-i1*d+a*d-n*lambertw(b*d*exp(m1)/n)-V1;
f2 = -i2*c-i2*d+a*d-n*lambertw(b*d*exp(m2)/n)-V2;
f3 = -i3*c-i3*d+a*d-n*lambertw(b*d*exp(m3)/n)-V3;
f4 = -i4*c-i4*d+a*d-n*lambertw(b*d*exp(m4)/n)-V4;
f5 = -i5*c-i5*d+a*d-n*lambertw(b*d*exp(m5)/n)-V5;
fs = [f1; f2; f3; f4; f5];
xs = [a; b; f; c; d];
jac = [d/lambertw(b*d*exp(m1)/n), -(n*lambertw(b*d*exp(m1)/n)-b*d)/(b*(1+lambertw(b*d*exp(m1)/n))), lambertw(b*d*exp(m1)/n)*(-n*lambertw(b*d*exp(m1)/n)-i1*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m1)/n))), -i1, -(n*lambertw(b*d*exp(m1)/n)+i1*d-a*d-b*d)/((1+lambertw(b*d*exp(m1)/n))*d);
d/lambertw(b*d*exp(m2)/n), -(n*lambertw(b*d*exp(m2)/n)-b*d)/(b*(1+lambertw(b*d*exp(m2)/n))), lambertw(b*d*exp(m2)/n)*(-n*lambertw(b*d*exp(m2)/n)-i2*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m2)/n))), -i2, -(n*lambertw(b*d*exp(m2)/n)+i2*d-a*d-b*d)/((1+lambertw(b*d*exp(m2)/n))*d);
d/lambertw(b*d*exp(m3)/n), -(n*lambertw(b*d*exp(m3)/n)-b*d)/(b*(1+lambertw(b*d*exp(m3)/n))), lambertw(b*d*exp(m3)/n)*(-n*lambertw(b*d*exp(m3)/n)-i3*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m3)/n))), -i3, -(n*lambertw(b*d*exp(m3)/n)+i3*d-a*d-b*d)/((1+lambertw(b*d*exp(m3)/n))*d);
d/lambertw(b*d*exp(m4)/n), -(n*lambertw(b*d*exp(m4)/n)-b*d)/(b*(1+lambertw(b*d*exp(m4)/n))), lambertw(b*d*exp(m4)/n)*(-n*lambertw(b*d*exp(m4)/n)-i4*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m4)/n))), -i4, -(n*lambertw(b*d*exp(m4)/n)+i4*d-a*d-b*d)/((1+lambertw(b*d*exp(m4)/n))*d);
d/lambertw(b*d*exp(m5)/n), -(n*lambertw(b*d*exp(m5)/n)-b*d)/(b*(1+lambertw(b*d*exp(m5)/n))), lambertw(b*d*exp(m5)/n)*(-n*lambertw(b*d*exp(m5)/n)-i5*d+a*d+b*d)/(f*(1+lambertw(b*d*exp(m5)/n))), -i5, -(n*lambertw(b*d*exp(m5)/n)+i5*d-a*d-b*d)/((1+lambertw(b*d*exp(m5)/n))*d)];
x = [1.2; 0.001; 1.5; 1; 15];
for i=1:N
f = double(subs(fs, xs, x));
j = double(subs(jac, xs, x));
x = x – inv(j)*f;
err = abs(inv(j)*f);
if(err<tErr)
break;
end
end
display(x); #newtonmethod, #solve, #nonlinear MATLAB Answers — New Questions
Export Data + Another graphic
Hey,
I have a circuit in LTSPICE and I alredy exported the data to matlab. I created a plot.
But now, I have to add another plot to it so I can compare both of them. This second plot is a bode dyagram with a transfer function and I can make it work.
Can you guys help please?Hey,
I have a circuit in LTSPICE and I alredy exported the data to matlab. I created a plot.
But now, I have to add another plot to it so I can compare both of them. This second plot is a bode dyagram with a transfer function and I can make it work.
Can you guys help please? Hey,
I have a circuit in LTSPICE and I alredy exported the data to matlab. I created a plot.
But now, I have to add another plot to it so I can compare both of them. This second plot is a bode dyagram with a transfer function and I can make it work.
Can you guys help please? matlab, circuit MATLAB Answers — New Questions
Meetings Rooms in Teams User Activity Data (Meetings Organised vs Meetings Participated)
I tried searching for this questions on the forum but haven’t been able to find anything related to Meeting Rooms (MMRS).
We got few Meeting Rooms (MMRS) setup in business which helps us to collaborate with clients and attend meetings and I wanted to check if we are getting enough usage out of them for the investment we made.
I see there are 2 data points in Teams User Activity export which gives information on Meetings Organised vs Meeting Participated. Usually, when you want to attend a meeting from these rooms I need to book, and they get recorded in Meetings Organised but what about Meeting Participated? Usually, you can go in and plug the cable and start the meeting from the room and I think they will show up in Meetings Participated. We have 2-3 boardrooms where you can’t go just to attend the meeting, but it is still showing Meetings Participated > Meeting Organised.
Can someone tell me on what basis the Meeting Participated is calculated on or what does that actually mean in this scenario?
I tried searching for this questions on the forum but haven’t been able to find anything related to Meeting Rooms (MMRS).We got few Meeting Rooms (MMRS) setup in business which helps us to collaborate with clients and attend meetings and I wanted to check if we are getting enough usage out of them for the investment we made.I see there are 2 data points in Teams User Activity export which gives information on Meetings Organised vs Meeting Participated. Usually, when you want to attend a meeting from these rooms I need to book, and they get recorded in Meetings Organised but what about Meeting Participated? Usually, you can go in and plug the cable and start the meeting from the room and I think they will show up in Meetings Participated. We have 2-3 boardrooms where you can’t go just to attend the meeting, but it is still showing Meetings Participated > Meeting Organised.Can someone tell me on what basis the Meeting Participated is calculated on or what does that actually mean in this scenario? Read More
microphone not working due to intel smart sound technology
Hey everyone,
I’m encountering an issue with Windows 11 where the microphone stops working after some time while using my Logitech wireless zone connected via Bluetooth. It’s frustrating as a workaround to get it functioning again, I have to restart my computer. This isn’t an isolated incident either; some of my colleagues at work are experiencing the same problem.
I’ve come across a suggestion online to disable and enable the Intel Smart Sound Technology EOD driver as a temporary fix instead of resorting to a full restart. However, I’m looking for a more permanent solution to this problem.
Any ideas on how to resolve this issue without needing a workaround like this would be greatly appreciated.
Thanks in advance for your help!
Hey everyone,I’m encountering an issue with Windows 11 where the microphone stops working after some time while using my Logitech wireless zone connected via Bluetooth. It’s frustrating as a workaround to get it functioning again, I have to restart my computer. This isn’t an isolated incident either; some of my colleagues at work are experiencing the same problem.I’ve come across a suggestion online to disable and enable the Intel Smart Sound Technology EOD driver as a temporary fix instead of resorting to a full restart. However, I’m looking for a more permanent solution to this problem.Any ideas on how to resolve this issue without needing a workaround like this would be greatly appreciated.Thanks in advance for your help! Read More
Thingspeakwrite error when using string array
This string of code is taken from the thingSpeak documentation for matlab. I just copy and paste but still got this error. I would very much appreciate it if anyone can tell me where i did wrong
<</matlabcentral/answers/uploaded_files/94486/error.JPG>>This string of code is taken from the thingSpeak documentation for matlab. I just copy and paste but still got this error. I would very much appreciate it if anyone can tell me where i did wrong
<</matlabcentral/answers/uploaded_files/94486/error.JPG>> This string of code is taken from the thingSpeak documentation for matlab. I just copy and paste but still got this error. I would very much appreciate it if anyone can tell me where i did wrong
<</matlabcentral/answers/uploaded_files/94486/error.JPG>> thingspeak, matlab, string, iot MATLAB Answers — New Questions
Book recommendations for improving optimization, control and modeling different processes in MATLAB
Hi, I want to enhance my coding skills in optimization, simulation, and control of various processes using MATLAB. Could you suggest some books that would help me achieve this?Hi, I want to enhance my coding skills in optimization, simulation, and control of various processes using MATLAB. Could you suggest some books that would help me achieve this? Hi, I want to enhance my coding skills in optimization, simulation, and control of various processes using MATLAB. Could you suggest some books that would help me achieve this? book, control, optimization, model MATLAB Answers — New Questions
How to achieve Multiversioning/Backward compatability for Dotnet 8. APIs?
What is the effective way in achieving “Multiversioning, Versioning, Backward compatability” for Dotnet 8.0 APIs . These APIs are going to be deployed AKS cluster as microservices.
What is the effective way in achieving “Multiversioning, Versioning, Backward compatability” for Dotnet 8.0 APIs . These APIs are going to be deployed AKS cluster as microservices. Read More
Converting MBOX to PST Using Automatic Solution
Want to convert MBOX to PST format? Take the help from Advik MBOX to PST Converter. This software will help you to import MBOX to Outlook. Basically, it will convert MBOX file into Outlook importable format i.e. PST. The software maintain all the folder structure and emails during mbox to pst conversion. download the software and try it for free from official website.
Steps to Convert MBOX to PST for free.
Launch Advik MBOX to PST Converter in your PC.Click add file and add mbox file.Choose PST as saving option.Click convert button.
Done! THis is how you can start converting .mbox to .pst format.
Want to convert MBOX to PST format? Take the help from Advik MBOX to PST Converter. This software will help you to import MBOX to Outlook. Basically, it will convert MBOX file into Outlook importable format i.e. PST. The software maintain all the folder structure and emails during mbox to pst conversion. download the software and try it for free from official website. Steps to Convert MBOX to PST for free.Launch Advik MBOX to PST Converter in your PC.Click add file and add mbox file.Choose PST as saving option.Click convert button.Done! THis is how you can start converting .mbox to .pst format. Read More
Azure OpenAI Whisper From Power Automate
Hi all,
I’ve successfully created a working Whisper Model In Azure OpenAI Service (tested at
Speech Studio – Whisper Model in Azure OpenAI Service ) to do audio transcriptions. I’ve had the exact model working via a Custom Connector to the regular OpenAI version of Whisper but need direct access via Azure to avoid needing to give guest users to my app the API Key.
When I try and call it via HTTP in Power Automate I get an ‘UnresolveableHostName’ error. and the 502 error in the image below
HTTP output is
I’m wondering if it is my URI
Speech Service is ‘azureopenaispeechjuneeastus2’
Location / Region is ‘eastus2’
Endpoint is ‘https://azureopenaispeechjuneeastus2.openai.azure.com/’
Deployment is ‘wmcazureopenaiwhisper’
Any thoughts would be appreciated.
Hi all, I’ve successfully created a working Whisper Model In Azure OpenAI Service (tested at Speech Studio – Whisper Model in Azure OpenAI Service ) to do audio transcriptions. I’ve had the exact model working via a Custom Connector to the regular OpenAI version of Whisper but need direct access via Azure to avoid needing to give guest users to my app the API Key. When I try and call it via HTTP in Power Automate I get an ‘UnresolveableHostName’ error. and the 502 error in the image below HTTP output is { “statusCode”: 404, “headers”: { “apim-request-id”: “1859e66c-6662-470e-8844-ec0f4053ac86”, “Strict-Transport-Security”: “max-age=31536000; includeSubDomains; preload”, “X-Content-Type-Options”: “nosniff”, “Date”: “Tue, 04 Jun 2024 04:35:01 GMT”, “Content-Length”: “56”, “Content-Type”: “application/json” }, “body”: { “error”: { “code”: “404”, “message”: “Resource not found” } }} I’m wondering if it is my URI https://azureopenaispeechjuneeastus2.openai.azure.com/openai/deployments/wmcazureopenaiwhisper/audio/transcriptions?api-version=001 Speech Service is ‘azureopenaispeechjuneeastus2’Location / Region is ‘eastus2’Endpoint is ‘https://azureopenaispeechjuneeastus2.openai.azure.com/’Deployment is ‘wmcazureopenaiwhisper’ Any thoughts would be appreciated. Read More
Convert OLM to PST Using Best Technique
If you want to convert OLM to PST format. You should download and install Advik OLM to PST Converter. This software is designed for converting OLM into PST format. It will maintain folder and sub folder hierarchy. The application support OLM file exported from Outlook for Mac 2016, 2013, 2019 and 2021 edition.
Steps to Convert OLM to PST format
Run Advik OLM to PST Converter in your PC.Click Add File and add Mac OLM file.Choose PST as saving option.Click Convert button.
Finished ! This is how software converts OLM to PST.
If you want to convert OLM to PST format. You should download and install Advik OLM to PST Converter. This software is designed for converting OLM into PST format. It will maintain folder and sub folder hierarchy. The application support OLM file exported from Outlook for Mac 2016, 2013, 2019 and 2021 edition. Steps to Convert OLM to PST formatRun Advik OLM to PST Converter in your PC.Click Add File and add Mac OLM file.Choose PST as saving option.Click Convert button.Finished ! This is how software converts OLM to PST. Read More
Unable to Get Pre Installed Version of Teams
In the middle class, I faced problems with this error message: Please Hold on… and also that pre-installed version isn’t opening correctly so I uninstalled that after I installed it from the Microsoft store and also from the Website and that got installed successfully but once I quit the teams or shut down the system after power on the system the teams showing an error message: This version of teams only supports Work or School ” like this. Please help me to get out of this. Attached are the Screenshots.
In the middle class, I faced problems with this error message: Please Hold on… and also that pre-installed version isn’t opening correctly so I uninstalled that after I installed it from the Microsoft store and also from the Website and that got installed successfully but once I quit the teams or shut down the system after power on the system the teams showing an error message: This version of teams only supports Work or School ” like this. Please help me to get out of this. Attached are the Screenshots.Problem of store and website version on teams Problem of preinstalled version on teams Read More
Export Exchange Mailbox to PST Using Automated Method
Want to export Exchange mailbox to PST file? This can be done via professional method of 2024 i.e. Advik Email Backup Wizard. With this tool you can export Exchange mailbox to PST file format for Outlook. This file can easily transfered in MS Outlook 2013, 2016, 2019, 2021 and other versions. The software will preserve all the mailbox folders and email attributes.
Steps to Export Exchange Mailbox to PST file
Run Advik Email Backup Tool in your PC.Select Exchange as Email Source.Enter your Exchange account credentials and sign in.Select mailbox folders to export.Choose PST as saving option.Click Backup button.
The software will start exporting Exchange mailbox to PST file.
Want to export Exchange mailbox to PST file? This can be done via professional method of 2024 i.e. Advik Email Backup Wizard. With this tool you can export Exchange mailbox to PST file format for Outlook. This file can easily transfered in MS Outlook 2013, 2016, 2019, 2021 and other versions. The software will preserve all the mailbox folders and email attributes. Steps to Export Exchange Mailbox to PST fileRun Advik Email Backup Tool in your PC.Select Exchange as Email Source.Enter your Exchange account credentials and sign in.Select mailbox folders to export.Choose PST as saving option.Click Backup button.The software will start exporting Exchange mailbox to PST file. Read More
Is it possible to use of Matlab functions that do not support code generation in matlab.System objects?
I am working on developing a matlab.System and would like to leverage the speed advantage of running the model in complied mode.
The matlab engine interaction with the matlab.System object is described in – https://www.mathworks.com/help/simulink/ug/simulink-engine-interaction-with-system-objects.html
In order to maintain generality of code (i.e. I have a parent model superclass which specifies methods used by several subclasses – models that share a common framework), I need to use functions like metaclass that do not support code generation.
Is it possible to use functions such as metaclass in some of the implementation methods?I am working on developing a matlab.System and would like to leverage the speed advantage of running the model in complied mode.
The matlab engine interaction with the matlab.System object is described in – https://www.mathworks.com/help/simulink/ug/simulink-engine-interaction-with-system-objects.html
In order to maintain generality of code (i.e. I have a parent model superclass which specifies methods used by several subclasses – models that share a common framework), I need to use functions like metaclass that do not support code generation.
Is it possible to use functions such as metaclass in some of the implementation methods? I am working on developing a matlab.System and would like to leverage the speed advantage of running the model in complied mode.
The matlab engine interaction with the matlab.System object is described in – https://www.mathworks.com/help/simulink/ug/simulink-engine-interaction-with-system-objects.html
In order to maintain generality of code (i.e. I have a parent model superclass which specifies methods used by several subclasses – models that share a common framework), I need to use functions like metaclass that do not support code generation.
Is it possible to use functions such as metaclass in some of the implementation methods? matlab, simulink, matlab.system MATLAB Answers — New Questions
Is there any implementation of XGBoost algorithm for decision trees in Matlab?
I’ve found other boosting algos available in fitensemble and fitcensemble options but not XGBoost. Any chance to find it somewhere else?
Thanks
RobertoI’ve found other boosting algos available in fitensemble and fitcensemble options but not XGBoost. Any chance to find it somewhere else?
Thanks
Roberto I’ve found other boosting algos available in fitensemble and fitcensemble options but not XGBoost. Any chance to find it somewhere else?
Thanks
Roberto xgboost, machine learning, optimization, decision trees, boosting MATLAB Answers — New Questions
Index error running Psychtoolbox experiment
Dear Community,
I am running my experiment using Psychtoolbox. Unfortunately, I cannot share the whole script here, but generally it’s a centre-out reaching task where my participants use a joystick to reach targets. The joystick trajectory is being tracked with high temporal resolution and saved.
The tasks is presented using Psychtoolbox-3 (3.0.19) running on the MATLAB platform (2021b) in ubuntu (22.04).
The script works somewhat unstable. In 50 percent of cases it runs smoothly without any issues. In the other 50 percent it crushes with the following error message:
Identifier: MATLAB:badsubscript (line 643)
Error: Index in position 1 exceeds array bounds. Index must not exceed 552.
Error in function TextSize: Invalid Window (or Texture) Index provided: It doesn’t correspond to an open window or texture.
Did you close it accidentally via Screen(‘Close’) or Screen(‘CloseAll’) ?
Error using Screen
Usage:
oldTextSize=Screen(‘TextSize’, windowPtr [,textSize]);
Error in C_cued_cursor_rotation_joystick_noCentre (line 727)
Screen(‘TextSize’,wPtr, 40);
Here’s a few lines of my script with line 643 highlighted:
motion(:,9) = [NaN; ((velo/pix_per_mm)/1000)]; %convert velocity units to m/s
%store raw data
trialDat{trial} = motion;
%extract reach data
reachDat{trial} = motion(move_loc:endLoc,:); % LINE 643
%get velocity trend
reachDat{trial}(:,10) = trenddecomp(reachDat{trial}(:,9));
%identify max velocity from trend data
[maxVelo, maxLoc] = max(reachDat{trial}(:, 10));
I’m not a great expert in Matlab unfortunetely. What bugs me is that the script crushes at random time points. Sometimes after 50 trials, sometimes after 450+. And there seems to be nothing different im terms of participant’s performance compared to other trials.
Do you have any ideas what can cause this issue?
And why it doesn’t crush from the very first trial?Dear Community,
I am running my experiment using Psychtoolbox. Unfortunately, I cannot share the whole script here, but generally it’s a centre-out reaching task where my participants use a joystick to reach targets. The joystick trajectory is being tracked with high temporal resolution and saved.
The tasks is presented using Psychtoolbox-3 (3.0.19) running on the MATLAB platform (2021b) in ubuntu (22.04).
The script works somewhat unstable. In 50 percent of cases it runs smoothly without any issues. In the other 50 percent it crushes with the following error message:
Identifier: MATLAB:badsubscript (line 643)
Error: Index in position 1 exceeds array bounds. Index must not exceed 552.
Error in function TextSize: Invalid Window (or Texture) Index provided: It doesn’t correspond to an open window or texture.
Did you close it accidentally via Screen(‘Close’) or Screen(‘CloseAll’) ?
Error using Screen
Usage:
oldTextSize=Screen(‘TextSize’, windowPtr [,textSize]);
Error in C_cued_cursor_rotation_joystick_noCentre (line 727)
Screen(‘TextSize’,wPtr, 40);
Here’s a few lines of my script with line 643 highlighted:
motion(:,9) = [NaN; ((velo/pix_per_mm)/1000)]; %convert velocity units to m/s
%store raw data
trialDat{trial} = motion;
%extract reach data
reachDat{trial} = motion(move_loc:endLoc,:); % LINE 643
%get velocity trend
reachDat{trial}(:,10) = trenddecomp(reachDat{trial}(:,9));
%identify max velocity from trend data
[maxVelo, maxLoc] = max(reachDat{trial}(:, 10));
I’m not a great expert in Matlab unfortunetely. What bugs me is that the script crushes at random time points. Sometimes after 50 trials, sometimes after 450+. And there seems to be nothing different im terms of participant’s performance compared to other trials.
Do you have any ideas what can cause this issue?
And why it doesn’t crush from the very first trial? Dear Community,
I am running my experiment using Psychtoolbox. Unfortunately, I cannot share the whole script here, but generally it’s a centre-out reaching task where my participants use a joystick to reach targets. The joystick trajectory is being tracked with high temporal resolution and saved.
The tasks is presented using Psychtoolbox-3 (3.0.19) running on the MATLAB platform (2021b) in ubuntu (22.04).
The script works somewhat unstable. In 50 percent of cases it runs smoothly without any issues. In the other 50 percent it crushes with the following error message:
Identifier: MATLAB:badsubscript (line 643)
Error: Index in position 1 exceeds array bounds. Index must not exceed 552.
Error in function TextSize: Invalid Window (or Texture) Index provided: It doesn’t correspond to an open window or texture.
Did you close it accidentally via Screen(‘Close’) or Screen(‘CloseAll’) ?
Error using Screen
Usage:
oldTextSize=Screen(‘TextSize’, windowPtr [,textSize]);
Error in C_cued_cursor_rotation_joystick_noCentre (line 727)
Screen(‘TextSize’,wPtr, 40);
Here’s a few lines of my script with line 643 highlighted:
motion(:,9) = [NaN; ((velo/pix_per_mm)/1000)]; %convert velocity units to m/s
%store raw data
trialDat{trial} = motion;
%extract reach data
reachDat{trial} = motion(move_loc:endLoc,:); % LINE 643
%get velocity trend
reachDat{trial}(:,10) = trenddecomp(reachDat{trial}(:,9));
%identify max velocity from trend data
[maxVelo, maxLoc] = max(reachDat{trial}(:, 10));
I’m not a great expert in Matlab unfortunetely. What bugs me is that the script crushes at random time points. Sometimes after 50 trials, sometimes after 450+. And there seems to be nothing different im terms of participant’s performance compared to other trials.
Do you have any ideas what can cause this issue?
And why it doesn’t crush from the very first trial? psychtoolbox MATLAB Answers — New Questions