Month: June 2024
Microsoft Teams High Contrast Mode Missing Feature in New App
What are people with vision impairments supposed to do when classic Teams is shut down by Microsoft?
I tried the new Teams but cannot tell which messages are read or unread in Dark mode. In ‘Classic Teams’ Read messages are Yellow and unread are White.
In the new one, there is a tiny dot and difference in bolding, but it is all white and I cannot see the difference without getting really close to the screen and using reading glasses. I use Teams a lot at work but will have to move my team to a different platform if I cannot tell which messages I have opened.
What are people with vision impairments supposed to do when classic Teams is shut down by Microsoft? I tried the new Teams but cannot tell which messages are read or unread in Dark mode. In ‘Classic Teams’ Read messages are Yellow and unread are White. In the new one, there is a tiny dot and difference in bolding, but it is all white and I cannot see the difference without getting really close to the screen and using reading glasses. I use Teams a lot at work but will have to move my team to a different platform if I cannot tell which messages I have opened. Read More
Tab in microsoft teams
Hi All ,
i have added a tab in microsoft teams channel to check my emails from outlook , but nothing is shown
Hi All ,i have added a tab in microsoft teams channel to check my emails from outlook , but nothing is shown Read More
365 OneDrive is not saving ongoing work
Hello all. Relatively new to the World of 365 and Cloud work.
Experience: after 3 days of intensive editing on a large document that is resident on my OneDrive, I closed it. It simply disappeared, apparently unsaved for the preceding 3 days. (Yes, depressing.)
I thought ‘saves’ to the OneDrive folder were automatic and continuous; I even tapped the ‘save’ icon before closing, just in case.
What am I doing wrong? The problem isn’t connectivity (home WiFi is fine and strong; computer is working fine). Any suggestions of things to check, defaults, settings — anything? Thanks. DR
Hello all. Relatively new to the World of 365 and Cloud work.Experience: after 3 days of intensive editing on a large document that is resident on my OneDrive, I closed it. It simply disappeared, apparently unsaved for the preceding 3 days. (Yes, depressing.)I thought ‘saves’ to the OneDrive folder were automatic and continuous; I even tapped the ‘save’ icon before closing, just in case.What am I doing wrong? The problem isn’t connectivity (home WiFi is fine and strong; computer is working fine). Any suggestions of things to check, defaults, settings — anything? Thanks. DR Read More
How to load unstructured data using ssis
I have a requirement to process unstructured files using ssis.
Input File Format:
ID*Name*Sal*Details~*~
1*ABC*100*Validation Success~*~
2*BDC*200*validat
success
Faild~*~
3*FGT*300*Failure~*~
Output:
IDNameSalDetails1ABC100Validation Success2BDC200validat
success
Faild3FGT300Failure
I have a requirement to process unstructured files using ssis.Input File Format:ID*Name*Sal*Details~*~1*ABC*100*Validation Success~*~2*BDC*200*validatsuccessFaild~*~3*FGT*300*Failure~*~ Output: IDNameSalDetails1ABC100Validation Success2BDC200validatsuccessFaild3FGT300Failure Read More
missing “configure for app” in matlab 2019b app designer
Hi,
I want to creat custom component for matlab app designer .
I cannot find the "configure for app" button?
in addition, I also cannot run it from the commend line:
>> appdesigner.customcomponent.configureMetadata(‘C:funcsBandC1_exported.m’);
Unable to resolve the name appdesigner.customcomponent.configureMetadata.
how to creat it?Hi,
I want to creat custom component for matlab app designer .
I cannot find the "configure for app" button?
in addition, I also cannot run it from the commend line:
>> appdesigner.customcomponent.configureMetadata(‘C:funcsBandC1_exported.m’);
Unable to resolve the name appdesigner.customcomponent.configureMetadata.
how to creat it? Hi,
I want to creat custom component for matlab app designer .
I cannot find the "configure for app" button?
in addition, I also cannot run it from the commend line:
>> appdesigner.customcomponent.configureMetadata(‘C:funcsBandC1_exported.m’);
Unable to resolve the name appdesigner.customcomponent.configureMetadata.
how to creat it? configure, custom component, appdesigner MATLAB Answers — New Questions
How to find norm of a 3 X 1 matrix if it contains components in parametric form?
%i have this coupler matrix in parametric form
syms t
coupler_parametric=[5163136522924301/2251799813685248, 2^(1/2)/2 – (8*t)/(t^2 + 1), – (4*(t^2 – 1))/(t^2 + 1) – 2];
i want to find magnitude of this matrix in terms of t
please someone help%i have this coupler matrix in parametric form
syms t
coupler_parametric=[5163136522924301/2251799813685248, 2^(1/2)/2 – (8*t)/(t^2 + 1), – (4*(t^2 – 1))/(t^2 + 1) – 2];
i want to find magnitude of this matrix in terms of t
please someone help %i have this coupler matrix in parametric form
syms t
coupler_parametric=[5163136522924301/2251799813685248, 2^(1/2)/2 – (8*t)/(t^2 + 1), – (4*(t^2 – 1))/(t^2 + 1) – 2];
i want to find magnitude of this matrix in terms of t
please someone help #symbolic, #matrix MATLAB Answers — New Questions
Driving Open manipulator through Dynamics in Simulink
this is my simulink model for driving my open manipulator 4 DOF robot Dynamics
waypoints
wp = [
0.35 0.25 0.25 0.15 0.15 0.25;
0 0.01 0.11 0.11 0.01 0.01;
0.11 0.11 0.11 0.11 0.11 0.11 ];
error
Error:Error in port widths or dimensions. ‘Output Port 1’ of ‘untitled1/Trapezoidal Velocity Profile Trajectory’ is a [3×1] matrix.
Error:Error in port widths or dimensions. ‘Input Port 1’ of ‘untitled1/Forward Dynamics’ is a one dimensional vector with 6 elements.this is my simulink model for driving my open manipulator 4 DOF robot Dynamics
waypoints
wp = [
0.35 0.25 0.25 0.15 0.15 0.25;
0 0.01 0.11 0.11 0.01 0.01;
0.11 0.11 0.11 0.11 0.11 0.11 ];
error
Error:Error in port widths or dimensions. ‘Output Port 1’ of ‘untitled1/Trapezoidal Velocity Profile Trajectory’ is a [3×1] matrix.
Error:Error in port widths or dimensions. ‘Input Port 1’ of ‘untitled1/Forward Dynamics’ is a one dimensional vector with 6 elements. this is my simulink model for driving my open manipulator 4 DOF robot Dynamics
waypoints
wp = [
0.35 0.25 0.25 0.15 0.15 0.25;
0 0.01 0.11 0.11 0.01 0.01;
0.11 0.11 0.11 0.11 0.11 0.11 ];
error
Error:Error in port widths or dimensions. ‘Output Port 1’ of ‘untitled1/Trapezoidal Velocity Profile Trajectory’ is a [3×1] matrix.
Error:Error in port widths or dimensions. ‘Input Port 1’ of ‘untitled1/Forward Dynamics’ is a one dimensional vector with 6 elements. open manipulator, simulink MATLAB Answers — New Questions
Format output from jsonencode to make it more human readable
Can someone provide an example to format the output from jsonencode to make it more human readable. I.E. add carriage returns and indentations.Can someone provide an example to format the output from jsonencode to make it more human readable. I.E. add carriage returns and indentations. Can someone provide an example to format the output from jsonencode to make it more human readable. I.E. add carriage returns and indentations. jsonencode MATLAB Answers — New Questions
Email not recieved
I am unable to revieve my email containing my upgrade password from Dusan Balara email address removed for privacy reasons I can and have received replies to my email to this address. They have sent three emails to my lammid@rcn. address and they are not in my inbox or spam box. It seems that the program is blocking this specfic email. I have also received an email from this address announcing the upgrade but with not attachments to me specifically. How can I unblock this so I can get my upgrade password?
I am unable to revieve my email containing my upgrade password from Dusan Balara email address removed for privacy reasons I can and have received replies to my email to this address. They have sent three emails to my lammid@rcn. address and they are not in my inbox or spam box. It seems that the program is blocking this specfic email. I have also received an email from this address announcing the upgrade but with not attachments to me specifically. How can I unblock this so I can get my upgrade password? Read More
Many pages with insufficient content
“It is important for SEO to ensure that web pages have enough words because search engines use the content of a page to determine its relevance and quality. Pages with very little content may be seen as low-quality or thin content by search engines, which can negatively impact the site’s SEO performance”
I am convinced by that statement from Bing Webmaster Tools. Pages do not have to have a high volume of content. They might be very little, like workable examples or a short but clear explanation. They are still relevant and perceived as of high quality.
What others think about it?
Thanks,
Cezary Tomczyk
”It is important for SEO to ensure that web pages have enough words because search engines use the content of a page to determine its relevance and quality. Pages with very little content may be seen as low-quality or thin content by search engines, which can negatively impact the site’s SEO performance”I am convinced by that statement from Bing Webmaster Tools. Pages do not have to have a high volume of content. They might be very little, like workable examples or a short but clear explanation. They are still relevant and perceived as of high quality. What others think about it? Thanks,Cezary Tomczyk Read More
Issues with Quadcopter Deep Reinforcement Learning Training in Simulink
Hi guys,
I’ve been experimenting with training a quadcopter using Simulink in MATLAB for deep reinforcement learning. My objective is to train it to navigate from one hovering point to another point in space. However, I’ve encountered significant challenges, and the results have been far from satisfactory.
Could anyone provide suggestions or insights into potential issues that might be causing this? thank youHi guys,
I’ve been experimenting with training a quadcopter using Simulink in MATLAB for deep reinforcement learning. My objective is to train it to navigate from one hovering point to another point in space. However, I’ve encountered significant challenges, and the results have been far from satisfactory.
Could anyone provide suggestions or insights into potential issues that might be causing this? thank you Hi guys,
I’ve been experimenting with training a quadcopter using Simulink in MATLAB for deep reinforcement learning. My objective is to train it to navigate from one hovering point to another point in space. However, I’ve encountered significant challenges, and the results have been far from satisfactory.
Could anyone provide suggestions or insights into potential issues that might be causing this? thank you drl, quadcopter, agent MATLAB Answers — New Questions
Matlab question signal processing
Using the EMG file (EMG.txt) that was assigned. The sampling frequency is 1000Hz. Use MATLAB to create a subplot of the EMG signal graphed over time, and an amplitude spectrum of the EMG signal.
a. What frequency has the largest power?
b. In general, muscle fatigue is concentrated at lower frequencies (<50Hz). Comment on the muscle fatigue by calculating the % of power in 0-50Hz vs. the total frequency power spectrum. (<20% no fatigue; 20-40% mid; >40% high)Using the EMG file (EMG.txt) that was assigned. The sampling frequency is 1000Hz. Use MATLAB to create a subplot of the EMG signal graphed over time, and an amplitude spectrum of the EMG signal.
a. What frequency has the largest power?
b. In general, muscle fatigue is concentrated at lower frequencies (<50Hz). Comment on the muscle fatigue by calculating the % of power in 0-50Hz vs. the total frequency power spectrum. (<20% no fatigue; 20-40% mid; >40% high) Using the EMG file (EMG.txt) that was assigned. The sampling frequency is 1000Hz. Use MATLAB to create a subplot of the EMG signal graphed over time, and an amplitude spectrum of the EMG signal.
a. What frequency has the largest power?
b. In general, muscle fatigue is concentrated at lower frequencies (<50Hz). Comment on the muscle fatigue by calculating the % of power in 0-50Hz vs. the total frequency power spectrum. (<20% no fatigue; 20-40% mid; >40% high) digital signal processing MATLAB Answers — New Questions
OneDrive SteelSeries Moments Thumbs Folder Issue.
So, I am using OneDrive I like it, but the catch is that it keeps the thumbs folders and when I check my photos I see thumbnails everywhere. When I go to choose folders and deselect thumbs folder. It deletes the folder and when I record a new one another thumbs folder is created.
The location of the folder is in OneDrive. C:Users*****OneDriveVideosSteelSeries Moments . Its like this. I mean yeah its on OneDrive so you deselect them it gets deleted. So, I have to keep the folder locally like in Program Files. Then deselect them right? I just hate Thumbnails it is so annoying. Anyone with similar issues please respond for a fellow person<3
So, I am using OneDrive I like it, but the catch is that it keeps the thumbs folders and when I check my photos I see thumbnails everywhere. When I go to choose folders and deselect thumbs folder. It deletes the folder and when I record a new one another thumbs folder is created.The location of the folder is in OneDrive. C:Users*****OneDriveVideosSteelSeries Moments . Its like this. I mean yeah its on OneDrive so you deselect them it gets deleted. So, I have to keep the folder locally like in Program Files. Then deselect them right? I just hate Thumbnails it is so annoying. Anyone with similar issues please respond for a fellow person<3 Read More
Server 2012 not getting gateway
Hi
We are using Dell server virtual machines in VMware. I restarted the Dell server and then all our virtual machines started one by one, but unfortunately, our WSUS server is showing no internet. It shows in the domain but the internet is not working.
I tried to reset the LAN adapter by disabling/enabling it, restarted the machine twice, and troubleshooted by clicking on “Troubleshoot problems” but with no success. After troubleshooting, it shows
“The default gateway is not available”.
I checked the DNS server, virtual machine entry is there.
Any solution plz.
Hi We are using Dell server virtual machines in VMware. I restarted the Dell server and then all our virtual machines started one by one, but unfortunately, our WSUS server is showing no internet. It shows in the domain but the internet is not working. I tried to reset the LAN adapter by disabling/enabling it, restarted the machine twice, and troubleshooted by clicking on “Troubleshoot problems” but with no success. After troubleshooting, it shows “The default gateway is not available”. I checked the DNS server, virtual machine entry is there. Any solution plz. Read More
Error en código LSTM. Error in LSTM code
Hola, el siguiente código arroja el siguiente error:
Hello, the following code throws the following error:
clc
clear
close all
A1 = 0.04;
A4 = 0.04;
B1 = 1.5e-4;
B4 = 1.5e-4;
Kp1 = 3.7E-6;
Kp4 = 3.7E-6;
g = 9.8;
v=[12.6101 1.0688 31.0125 37.5489 12.9138 71.4793 95.7939 32.9065 79.1094 67.4771 11.8518 72.6723 88.3776 1.0488 11.0924 37.6680 91.5542 99.8999 17.8789 18.0891 11.2040 61.0086 41.7771 26.3225 20.9668 19.5812 88.4935 63.5100 62.6202 66.1686 18.5314 62.9590 87.7691 18.6421 64.9118 88.5281 25.8011 59.0359 49.2004 84.0695 6.1159 74.2078 55.8971 43.5178 78.1925 40.2701 36.3657 66.2878 40.0230 18.6693 6.3752 25.4650 90.2795 98.2619 48.9268 15.3302 51.6550 99.3592 76.4943 96.6364 93.0582 24.4126 10.6547 41.5677 13.9861 75.7021 35.4622 45.5286 20.7342 73.9153 21.1334 77.0479 24.8867 61.7596 35.2314 72.5405 12.6051 18.8981 20.1926 36.6943 41.0350 23.3522 67.2367 95.7641 43.7348 80.5776 80.0207 99.5289 21.9686 33.5729 76.4718 75.9192 96.1664 57.4193 61.2421 37.1441 35.0112 60.3988 53.0373 49.0117];
p=[65.9094 4.7869 19.8024 92.9458 58.7150 2.5256 30.0739 5.4808 79.6784 71.4252 54.0998 59.0927 21.8838 41.9776 52.0662 83.9952 66.3312 48.6364 85.4237 48.6713 27.9573 73.3884 96.9775 38.1866 24.6214 25.0278 2.8750 98.2827 80.4593 56.7850 39.4941 65.6003 99.3771 71.6628 11.1343 45.2816 69.5867 33.9626 92.2531 63.6166 93.2864 43.1661 30.7485 89.0138 2.7200 15.6575 95.9571 71.7325 31.3402 82.9815 80.9813 91.0163 64.6385 63.2399 12.7286 91.9783 62.7741 26.5009 95.1791 5.5744 3.0718 9.7170 52.2664 87.9877 40.8157 56.5710 60.2174 8.4300 39.7575 36.1435 25.2341 11.6948 12.1166 27.4533 27.3728 93.6720 19.4315 51.2361 15.6118 92.1493 93.0167 14.5384 87.2854 2.2232 72.4816 87.9799 39.3572 25.3966 12.0606 84.8313 66.3062 78.1866 36.4977 19.2294 2.0078 9.5056 33.6173 30.7822 51.1505 39.2739];
sim_in = [v, p];
sim_out = [7.1311 6.3588 6.0545 7.8257 9.1521 8.0623 7.0667 6.2499 6.0917 6.2498 7.5273 7.2557 6.3734 7.3573 8.4913 9.8310 8.9261 7.8193 10.0257 10.6941 10.6282 10.7414 12.1362 12.1442 11.7505 11.4088 10.1702 10.6450 10.8248 10.4919 10.7776 10.6827 10.0315 11.5522 10.4712 9.5101 10.7533 10.1794 11.1625 10.3909 13.2449 12.4087 11.7282 12.7822 11.4824 10.6570 12.2692 12.0873 11.6660 13.5195 15.6611 17.3295 16.0747 14.6372 13.5176 15.7546 15.6847 14.2223 13.8570 12.4838 11.1820 10.2803 11.2498 12.3825 12.6999 12.0127 12.5235 11.4221 11.6250 10.7953 10.4960 9.4175 8.6992 8.0898 7.8539 8.0031 7.7384 8.6275 8.1134 9.7540 11.1313 10.4081 10.5331 9.3326 10.0847 9.6961 8.9038 7.8016 7.2000 8.8101 8.4298 8.2227 7.2229 6.6039 5.6859 5.0770 5.2510 4.9641 5.2480 5.3237];
v_Datastore = arrayDatastore(v);
p_Datastore = arrayDatastore(p);
out_Datastore=arrayDatastore(sim_out);
trainDatastore = combine(v_Datastore, p_Datastore, out_Datastore);
% —————CREATE END TRAIN NETWORK——————
% Network architecture
numResponses = 1;
featureDimension = 1;
numHiddenUnits = 400;
maxEpochs = 400;
miniBatchSize = 300;
Networklayers = [sequenceInputLayer(featureDimension) …
lstmLayer(numHiddenUnits) …
dropoutLayer(0.02),…
fullyConnectedLayer(numResponses) …
regressionLayer
];
options = trainingOptions(‘adam’, …
‘MaxEpochs’,maxEpochs, …
‘MiniBatchSize’,miniBatchSize, …
‘GradientThreshold’,20, …
‘Shuffle’,’once’, …
‘Plots’,’training-progress’,…
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,200,…
‘L2Regularization’,1e-3,…
‘LearnRateDropFactor’,0.5,…
‘Verbose’,0,…
‘ValidationData’,[{sim_in} {sim_out}]);
% ENTRENAMIENTO
net = trainnet(trainDatastore, Networklayers,options);
Falta un argumento en la llamada a la función pero no se cuál poner. Gracias.
There is a missing argument in the function call but I don’t know which one to put. Thank you.
Si pongo trainNetwork el error es:
If I put trainNetwork the error is:
Error using trainNetwork (line 191)
Invalid validation data. Sequence responses must have the same sequence length as the
corresponding predictors.
Error in miso_directo (line 52)
net = trainNetwork(trainDatastore,Networklayers,options);
Tengo dos entradas de 100 elementos y una salida de 100 elementos.
I have two inputs of 100 elements and one output of 100 elements.
Gracias. Thanks.Hola, el siguiente código arroja el siguiente error:
Hello, the following code throws the following error:
clc
clear
close all
A1 = 0.04;
A4 = 0.04;
B1 = 1.5e-4;
B4 = 1.5e-4;
Kp1 = 3.7E-6;
Kp4 = 3.7E-6;
g = 9.8;
v=[12.6101 1.0688 31.0125 37.5489 12.9138 71.4793 95.7939 32.9065 79.1094 67.4771 11.8518 72.6723 88.3776 1.0488 11.0924 37.6680 91.5542 99.8999 17.8789 18.0891 11.2040 61.0086 41.7771 26.3225 20.9668 19.5812 88.4935 63.5100 62.6202 66.1686 18.5314 62.9590 87.7691 18.6421 64.9118 88.5281 25.8011 59.0359 49.2004 84.0695 6.1159 74.2078 55.8971 43.5178 78.1925 40.2701 36.3657 66.2878 40.0230 18.6693 6.3752 25.4650 90.2795 98.2619 48.9268 15.3302 51.6550 99.3592 76.4943 96.6364 93.0582 24.4126 10.6547 41.5677 13.9861 75.7021 35.4622 45.5286 20.7342 73.9153 21.1334 77.0479 24.8867 61.7596 35.2314 72.5405 12.6051 18.8981 20.1926 36.6943 41.0350 23.3522 67.2367 95.7641 43.7348 80.5776 80.0207 99.5289 21.9686 33.5729 76.4718 75.9192 96.1664 57.4193 61.2421 37.1441 35.0112 60.3988 53.0373 49.0117];
p=[65.9094 4.7869 19.8024 92.9458 58.7150 2.5256 30.0739 5.4808 79.6784 71.4252 54.0998 59.0927 21.8838 41.9776 52.0662 83.9952 66.3312 48.6364 85.4237 48.6713 27.9573 73.3884 96.9775 38.1866 24.6214 25.0278 2.8750 98.2827 80.4593 56.7850 39.4941 65.6003 99.3771 71.6628 11.1343 45.2816 69.5867 33.9626 92.2531 63.6166 93.2864 43.1661 30.7485 89.0138 2.7200 15.6575 95.9571 71.7325 31.3402 82.9815 80.9813 91.0163 64.6385 63.2399 12.7286 91.9783 62.7741 26.5009 95.1791 5.5744 3.0718 9.7170 52.2664 87.9877 40.8157 56.5710 60.2174 8.4300 39.7575 36.1435 25.2341 11.6948 12.1166 27.4533 27.3728 93.6720 19.4315 51.2361 15.6118 92.1493 93.0167 14.5384 87.2854 2.2232 72.4816 87.9799 39.3572 25.3966 12.0606 84.8313 66.3062 78.1866 36.4977 19.2294 2.0078 9.5056 33.6173 30.7822 51.1505 39.2739];
sim_in = [v, p];
sim_out = [7.1311 6.3588 6.0545 7.8257 9.1521 8.0623 7.0667 6.2499 6.0917 6.2498 7.5273 7.2557 6.3734 7.3573 8.4913 9.8310 8.9261 7.8193 10.0257 10.6941 10.6282 10.7414 12.1362 12.1442 11.7505 11.4088 10.1702 10.6450 10.8248 10.4919 10.7776 10.6827 10.0315 11.5522 10.4712 9.5101 10.7533 10.1794 11.1625 10.3909 13.2449 12.4087 11.7282 12.7822 11.4824 10.6570 12.2692 12.0873 11.6660 13.5195 15.6611 17.3295 16.0747 14.6372 13.5176 15.7546 15.6847 14.2223 13.8570 12.4838 11.1820 10.2803 11.2498 12.3825 12.6999 12.0127 12.5235 11.4221 11.6250 10.7953 10.4960 9.4175 8.6992 8.0898 7.8539 8.0031 7.7384 8.6275 8.1134 9.7540 11.1313 10.4081 10.5331 9.3326 10.0847 9.6961 8.9038 7.8016 7.2000 8.8101 8.4298 8.2227 7.2229 6.6039 5.6859 5.0770 5.2510 4.9641 5.2480 5.3237];
v_Datastore = arrayDatastore(v);
p_Datastore = arrayDatastore(p);
out_Datastore=arrayDatastore(sim_out);
trainDatastore = combine(v_Datastore, p_Datastore, out_Datastore);
% —————CREATE END TRAIN NETWORK——————
% Network architecture
numResponses = 1;
featureDimension = 1;
numHiddenUnits = 400;
maxEpochs = 400;
miniBatchSize = 300;
Networklayers = [sequenceInputLayer(featureDimension) …
lstmLayer(numHiddenUnits) …
dropoutLayer(0.02),…
fullyConnectedLayer(numResponses) …
regressionLayer
];
options = trainingOptions(‘adam’, …
‘MaxEpochs’,maxEpochs, …
‘MiniBatchSize’,miniBatchSize, …
‘GradientThreshold’,20, …
‘Shuffle’,’once’, …
‘Plots’,’training-progress’,…
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,200,…
‘L2Regularization’,1e-3,…
‘LearnRateDropFactor’,0.5,…
‘Verbose’,0,…
‘ValidationData’,[{sim_in} {sim_out}]);
% ENTRENAMIENTO
net = trainnet(trainDatastore, Networklayers,options);
Falta un argumento en la llamada a la función pero no se cuál poner. Gracias.
There is a missing argument in the function call but I don’t know which one to put. Thank you.
Si pongo trainNetwork el error es:
If I put trainNetwork the error is:
Error using trainNetwork (line 191)
Invalid validation data. Sequence responses must have the same sequence length as the
corresponding predictors.
Error in miso_directo (line 52)
net = trainNetwork(trainDatastore,Networklayers,options);
Tengo dos entradas de 100 elementos y una salida de 100 elementos.
I have two inputs of 100 elements and one output of 100 elements.
Gracias. Thanks. Hola, el siguiente código arroja el siguiente error:
Hello, the following code throws the following error:
clc
clear
close all
A1 = 0.04;
A4 = 0.04;
B1 = 1.5e-4;
B4 = 1.5e-4;
Kp1 = 3.7E-6;
Kp4 = 3.7E-6;
g = 9.8;
v=[12.6101 1.0688 31.0125 37.5489 12.9138 71.4793 95.7939 32.9065 79.1094 67.4771 11.8518 72.6723 88.3776 1.0488 11.0924 37.6680 91.5542 99.8999 17.8789 18.0891 11.2040 61.0086 41.7771 26.3225 20.9668 19.5812 88.4935 63.5100 62.6202 66.1686 18.5314 62.9590 87.7691 18.6421 64.9118 88.5281 25.8011 59.0359 49.2004 84.0695 6.1159 74.2078 55.8971 43.5178 78.1925 40.2701 36.3657 66.2878 40.0230 18.6693 6.3752 25.4650 90.2795 98.2619 48.9268 15.3302 51.6550 99.3592 76.4943 96.6364 93.0582 24.4126 10.6547 41.5677 13.9861 75.7021 35.4622 45.5286 20.7342 73.9153 21.1334 77.0479 24.8867 61.7596 35.2314 72.5405 12.6051 18.8981 20.1926 36.6943 41.0350 23.3522 67.2367 95.7641 43.7348 80.5776 80.0207 99.5289 21.9686 33.5729 76.4718 75.9192 96.1664 57.4193 61.2421 37.1441 35.0112 60.3988 53.0373 49.0117];
p=[65.9094 4.7869 19.8024 92.9458 58.7150 2.5256 30.0739 5.4808 79.6784 71.4252 54.0998 59.0927 21.8838 41.9776 52.0662 83.9952 66.3312 48.6364 85.4237 48.6713 27.9573 73.3884 96.9775 38.1866 24.6214 25.0278 2.8750 98.2827 80.4593 56.7850 39.4941 65.6003 99.3771 71.6628 11.1343 45.2816 69.5867 33.9626 92.2531 63.6166 93.2864 43.1661 30.7485 89.0138 2.7200 15.6575 95.9571 71.7325 31.3402 82.9815 80.9813 91.0163 64.6385 63.2399 12.7286 91.9783 62.7741 26.5009 95.1791 5.5744 3.0718 9.7170 52.2664 87.9877 40.8157 56.5710 60.2174 8.4300 39.7575 36.1435 25.2341 11.6948 12.1166 27.4533 27.3728 93.6720 19.4315 51.2361 15.6118 92.1493 93.0167 14.5384 87.2854 2.2232 72.4816 87.9799 39.3572 25.3966 12.0606 84.8313 66.3062 78.1866 36.4977 19.2294 2.0078 9.5056 33.6173 30.7822 51.1505 39.2739];
sim_in = [v, p];
sim_out = [7.1311 6.3588 6.0545 7.8257 9.1521 8.0623 7.0667 6.2499 6.0917 6.2498 7.5273 7.2557 6.3734 7.3573 8.4913 9.8310 8.9261 7.8193 10.0257 10.6941 10.6282 10.7414 12.1362 12.1442 11.7505 11.4088 10.1702 10.6450 10.8248 10.4919 10.7776 10.6827 10.0315 11.5522 10.4712 9.5101 10.7533 10.1794 11.1625 10.3909 13.2449 12.4087 11.7282 12.7822 11.4824 10.6570 12.2692 12.0873 11.6660 13.5195 15.6611 17.3295 16.0747 14.6372 13.5176 15.7546 15.6847 14.2223 13.8570 12.4838 11.1820 10.2803 11.2498 12.3825 12.6999 12.0127 12.5235 11.4221 11.6250 10.7953 10.4960 9.4175 8.6992 8.0898 7.8539 8.0031 7.7384 8.6275 8.1134 9.7540 11.1313 10.4081 10.5331 9.3326 10.0847 9.6961 8.9038 7.8016 7.2000 8.8101 8.4298 8.2227 7.2229 6.6039 5.6859 5.0770 5.2510 4.9641 5.2480 5.3237];
v_Datastore = arrayDatastore(v);
p_Datastore = arrayDatastore(p);
out_Datastore=arrayDatastore(sim_out);
trainDatastore = combine(v_Datastore, p_Datastore, out_Datastore);
% —————CREATE END TRAIN NETWORK——————
% Network architecture
numResponses = 1;
featureDimension = 1;
numHiddenUnits = 400;
maxEpochs = 400;
miniBatchSize = 300;
Networklayers = [sequenceInputLayer(featureDimension) …
lstmLayer(numHiddenUnits) …
dropoutLayer(0.02),…
fullyConnectedLayer(numResponses) …
regressionLayer
];
options = trainingOptions(‘adam’, …
‘MaxEpochs’,maxEpochs, …
‘MiniBatchSize’,miniBatchSize, …
‘GradientThreshold’,20, …
‘Shuffle’,’once’, …
‘Plots’,’training-progress’,…
‘LearnRateSchedule’,’piecewise’,…
‘LearnRateDropPeriod’,200,…
‘L2Regularization’,1e-3,…
‘LearnRateDropFactor’,0.5,…
‘Verbose’,0,…
‘ValidationData’,[{sim_in} {sim_out}]);
% ENTRENAMIENTO
net = trainnet(trainDatastore, Networklayers,options);
Falta un argumento en la llamada a la función pero no se cuál poner. Gracias.
There is a missing argument in the function call but I don’t know which one to put. Thank you.
Si pongo trainNetwork el error es:
If I put trainNetwork the error is:
Error using trainNetwork (line 191)
Invalid validation data. Sequence responses must have the same sequence length as the
corresponding predictors.
Error in miso_directo (line 52)
net = trainNetwork(trainDatastore,Networklayers,options);
Tengo dos entradas de 100 elementos y una salida de 100 elementos.
I have two inputs of 100 elements and one output of 100 elements.
Gracias. Thanks. transferred MATLAB Answers — New Questions
Indexing of cell array and a vector
Hi guys, my problem has been raised before but with some differences.
I have a cell array of indexes, index. Its cells can be zero or vectors with several values. On the other hand I have a data vector, data. I need a cell array, out, that relates data to indexes, preferably without using a loop.
For example:
index = {[0], [0], [5], [0], [6, 7], [0], [0], [1], [0], [0], [0], [ 3]} ;
data = [100, 10, 20, 15, 11, 25, 200, 45];
Desired result:
out = {[0], [0], [11], [0], [25, 200], [0], [0], [100], [0], [0], [20]}
Can somebody help me?Hi guys, my problem has been raised before but with some differences.
I have a cell array of indexes, index. Its cells can be zero or vectors with several values. On the other hand I have a data vector, data. I need a cell array, out, that relates data to indexes, preferably without using a loop.
For example:
index = {[0], [0], [5], [0], [6, 7], [0], [0], [1], [0], [0], [0], [ 3]} ;
data = [100, 10, 20, 15, 11, 25, 200, 45];
Desired result:
out = {[0], [0], [11], [0], [25, 200], [0], [0], [100], [0], [0], [20]}
Can somebody help me? Hi guys, my problem has been raised before but with some differences.
I have a cell array of indexes, index. Its cells can be zero or vectors with several values. On the other hand I have a data vector, data. I need a cell array, out, that relates data to indexes, preferably without using a loop.
For example:
index = {[0], [0], [5], [0], [6, 7], [0], [0], [1], [0], [0], [0], [ 3]} ;
data = [100, 10, 20, 15, 11, 25, 200, 45];
Desired result:
out = {[0], [0], [11], [0], [25, 200], [0], [0], [100], [0], [0], [20]}
Can somebody help me? cell array, indexing MATLAB Answers — New Questions
How to self analyze computer blue screens?
My job involves importance, so I cannot let others handle it (even if I provide a dump file). I have already asked in the Microsoft community, “How do I handle a blue screen on my computer? – Microsoft Community,” and they asked me to come here to inquire
Can you please teach me how to analyze computer blue screens on my own or provide me with a tutorial on analyzing computer blue screens (I need a detailed tutorial)
My job involves importance, so I cannot let others handle it (even if I provide a dump file). I have already asked in the Microsoft community, “How do I handle a blue screen on my computer? – Microsoft Community,” and they asked me to come here to inquireCan you please teach me how to analyze computer blue screens on my own or provide me with a tutorial on analyzing computer blue screens (I need a detailed tutorial) Read More
How to change the filled color if gantt chart displays completed
Hi everyone. I want to change filled color automatically based on original conditional formatting if gantt chart displayed “completed”. I tried new conditional formatting =isnumber(search(“completed”, C5), however, it seemed not working out. What could I do?
Hi everyone. I want to change filled color automatically based on original conditional formatting if gantt chart displayed “completed”. I tried new conditional formatting =isnumber(search(“completed”, C5), however, it seemed not working out. What could I do? Read More
Is it possible to export measurement reading of Signal Statistics in Simulink Scope block to workspace? If it is possible, then how?
Hello and thank you for you concern Sir. As mention above, I’m fully aware about the method on data logging from the scope display to workspace. However, the logging only record/export the simulation signal data to our workspace. Refer to image that i attached, the scope able to determine the Max, Min, Peak to peak, Median and RMS value for the simulation. These reading is in the Signal Statistics section if the scope display enable it from Tools>Measurement>Signal Statistics.
My motivation is to obtain the RMS value recorded in the scope and export it to workspace or save it to a file or etc. It is because I’m dealing with multiple/repitative simulations with different parameters just to observe the changes of the RMS value. Hence, is there any possible way to export the readings? or any possible way for me to obtain RMS value of the simulation.
Notes: I had try the RMS block in the simulink, however it did not provide the correct measurement. I think this happen due to my sample data if from discharging of battery model (DC current). Maybe, I’m not verry sure. Sorry.
Anyway, thank you in advance if someone able to help me on this. I really appriciate your concern Sir.Hello and thank you for you concern Sir. As mention above, I’m fully aware about the method on data logging from the scope display to workspace. However, the logging only record/export the simulation signal data to our workspace. Refer to image that i attached, the scope able to determine the Max, Min, Peak to peak, Median and RMS value for the simulation. These reading is in the Signal Statistics section if the scope display enable it from Tools>Measurement>Signal Statistics.
My motivation is to obtain the RMS value recorded in the scope and export it to workspace or save it to a file or etc. It is because I’m dealing with multiple/repitative simulations with different parameters just to observe the changes of the RMS value. Hence, is there any possible way to export the readings? or any possible way for me to obtain RMS value of the simulation.
Notes: I had try the RMS block in the simulink, however it did not provide the correct measurement. I think this happen due to my sample data if from discharging of battery model (DC current). Maybe, I’m not verry sure. Sorry.
Anyway, thank you in advance if someone able to help me on this. I really appriciate your concern Sir. Hello and thank you for you concern Sir. As mention above, I’m fully aware about the method on data logging from the scope display to workspace. However, the logging only record/export the simulation signal data to our workspace. Refer to image that i attached, the scope able to determine the Max, Min, Peak to peak, Median and RMS value for the simulation. These reading is in the Signal Statistics section if the scope display enable it from Tools>Measurement>Signal Statistics.
My motivation is to obtain the RMS value recorded in the scope and export it to workspace or save it to a file or etc. It is because I’m dealing with multiple/repitative simulations with different parameters just to observe the changes of the RMS value. Hence, is there any possible way to export the readings? or any possible way for me to obtain RMS value of the simulation.
Notes: I had try the RMS block in the simulink, however it did not provide the correct measurement. I think this happen due to my sample data if from discharging of battery model (DC current). Maybe, I’m not verry sure. Sorry.
Anyway, thank you in advance if someone able to help me on this. I really appriciate your concern Sir. simulink, scope block, signal statistics, rms value MATLAB Answers — New Questions
Comparison of Crossover Methods: ‘crossoverheuristic’ vs ‘crossoverintermediate’ vs ‘crossoverarithmetic’
How is ‘crossoverheuristic’ different from ‘crossoverintermediate’?
Is that ‘crossoverheuristic’ always take ratio greater than 1, i.e., the offspring will always be much far from the parent with lower fitness compared to the parent with higher fitness?
Is ‘crossoverheuristic’ a special case of ‘crossoverintermediate’?
Should the ratio be always scalar in ‘crossoverheuristic’?
Is there any issue in setting the ratio to greater than 1 for ‘crossoverintermediate’ over a problem with linear constraints and bounds?
How is ‘crossoverarithmetic’ different from ‘crossoverintermediate’?How is ‘crossoverheuristic’ different from ‘crossoverintermediate’?
Is that ‘crossoverheuristic’ always take ratio greater than 1, i.e., the offspring will always be much far from the parent with lower fitness compared to the parent with higher fitness?
Is ‘crossoverheuristic’ a special case of ‘crossoverintermediate’?
Should the ratio be always scalar in ‘crossoverheuristic’?
Is there any issue in setting the ratio to greater than 1 for ‘crossoverintermediate’ over a problem with linear constraints and bounds?
How is ‘crossoverarithmetic’ different from ‘crossoverintermediate’? How is ‘crossoverheuristic’ different from ‘crossoverintermediate’?
Is that ‘crossoverheuristic’ always take ratio greater than 1, i.e., the offspring will always be much far from the parent with lower fitness compared to the parent with higher fitness?
Is ‘crossoverheuristic’ a special case of ‘crossoverintermediate’?
Should the ratio be always scalar in ‘crossoverheuristic’?
Is there any issue in setting the ratio to greater than 1 for ‘crossoverintermediate’ over a problem with linear constraints and bounds?
How is ‘crossoverarithmetic’ different from ‘crossoverintermediate’? ga, gamultiobj, crossover, genetic algorithm MATLAB Answers — New Questions