Month: July 2024
SQL Report Server URL Access
I am using the SQL Report server URL to access the report which I created using SSRS.
When I run the URL, it prompt me to enter username and password of the Window Server where the SQL Report Server is residing. Is it possible to bypass the prompt or embedding the username and password into the url
Report URL as below
https://serverIP/ReportServer/Pages/ReportViewer.aspx?%2fIALM%20Reports/ALM%20Team%20Effort%20Time%20Lapse&rs:Command=Render
Report URL with username and password like
https://serverIP/ReportServer/Pages/ReportViewer.aspx?%2fIALM%20Reports/ALM%20Team%20Effort%20Time%20Lapse&rs:Command=Render&username=abcdef&password=password
I am using the SQL Report server URL to access the report which I created using SSRS.When I run the URL, it prompt me to enter username and password of the Window Server where the SQL Report Server is residing. Is it possible to bypass the prompt or embedding the username and password into the urlReport URL as belowhttps://serverIP/ReportServer/Pages/ReportViewer.aspx?%2fIALM%20Reports/ALM%20Team%20Effort%20Time%20Lapse&rs:Command=RenderReport URL with username and password likehttps://serverIP/ReportServer/Pages/ReportViewer.aspx?%2fIALM%20Reports/ALM%20Team%20Effort%20Time%20Lapse&rs:Command=Render&username=abcdef&password=password Read More
Outlook Login Error
I cannot login to my outlook account with the following error reported, but I stay as login status for my Microsoft account. Once I accidentally logged in to outlook successfully, but I still could not access any email nor sending any email. There’s some bug needs to be fixed.
I cannot login to my outlook account with the following error reported, but I stay as login status for my Microsoft account. Once I accidentally logged in to outlook successfully, but I still could not access any email nor sending any email. There’s some bug needs to be fixed. Read More
Workspace Feature Enhancement Suggestion: One-Click Bookmarking for Entire Tab Groups
Hello Edge development team,
Can you add a right-click menu option for workspaces called “Add to Favorites”?
Here’s why:
Sometimes my computer’s low on memory, and I want to bookmark a bunch of tabs, close the workspace, and check them out later.When I need to restart my computer, I don’t want to lose what I’m working on.Right now, I can’t save workspaces directly, which is kind of inconvenient.
Basically, I’m hoping for a one-click option to save the entire workspace, instead of bookmarking tabs one by one. It would make things a lot smoother.
What do you think of this idea? If you could add it, that’d be really handy.
Thanks!
Hello Edge development team,Can you add a right-click menu option for workspaces called “Add to Favorites”?Here’s why:Sometimes my computer’s low on memory, and I want to bookmark a bunch of tabs, close the workspace, and check them out later.When I need to restart my computer, I don’t want to lose what I’m working on.Right now, I can’t save workspaces directly, which is kind of inconvenient.Basically, I’m hoping for a one-click option to save the entire workspace, instead of bookmarking tabs one by one. It would make things a lot smoother.What do you think of this idea? If you could add it, that’d be really handy.Thanks! Read More
Expected output of supervisors
suggested outputs of supervisors to Model exemplary skills on evidence-based approaches in the evaluation of programs, projects and activities aligned with the educational development plan.
suggested outputs of supervisors to Model exemplary skills on evidence-based approaches in the evaluation of programs, projects and activities aligned with the educational development plan. Read More
Is there an ideal voltage source block that can change the voltage based on the command voltage value without using PWM in simscape electrical?
I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance.I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance. I am simulating the control of a BLDC motor (PMSM) with simscape, but when I try to reproduce PWM control at the microcontroller level and control the voltage, the sampling time needs to be very small to achieve sufficient voltage resolution, which increases the calculation time.
Therefore, we would like to replace the PWM generator, gate driver, inverter, and stabilizing power supply that apply the command voltage to the BLDC with an ideal voltage source block that can vary the voltage based on the input command voltage.
Is there such an ideal voltage source block at simscape electrical?
Also, if you know of a method to speed up the computation of BLDC control that does not involve such an approach, please let me know.
We are considering using an equivalent simplified model, but would like to find a better alternative.
Thank you in advance. bldc, simulink, simscape, electric_motor_control, pmsm, pwm MATLAB Answers — New Questions
Secure the approval data inside sharepoint list
We have a SharePoint list named Contracts, with these main fields:-
1) ID
2) Title
3) Number
4) Approval Status
now we granted our Operation employees + Operation managers Contribute permission on the list. then we build Power Apps that will only show the “Approval Status” field in-case you are inside the Operation Managers Teams. this will work if we guarantee that users will only use power apps, and will not modify the list using REST API or SharePoint list view UI. so to secure this process (make sure that only Operation Managers can modify the Status field), we found 2 approaches:-
1) Separate the Contract list into 2 lists, one for the contract info , while the other for the approval info. and grant the Operation team contribute on the first list and read-only on the second list. while the operation manager will have contribute on the 2 lists. this will secure the back-end.
2) second approach, is to have one contract list and set all users to have Read-Only permission, then interact with the list from power apps using a power automate flow that get called from power apps, and which runs using a service account:-
in this case we can define the business rules inside the power automate flow, and make sure that you can not modify the “Approval Status” field unless you are inside the Operation Managers group.
so my question is which appraoch to follow and why?
Thanks
We have a SharePoint list named Contracts, with these main fields:- 1) ID2) Title3) Number4) Approval Status now we granted our Operation employees + Operation managers Contribute permission on the list. then we build Power Apps that will only show the “Approval Status” field in-case you are inside the Operation Managers Teams. this will work if we guarantee that users will only use power apps, and will not modify the list using REST API or SharePoint list view UI. so to secure this process (make sure that only Operation Managers can modify the Status field), we found 2 approaches:- 1) Separate the Contract list into 2 lists, one for the contract info , while the other for the approval info. and grant the Operation team contribute on the first list and read-only on the second list. while the operation manager will have contribute on the 2 lists. this will secure the back-end. 2) second approach, is to have one contract list and set all users to have Read-Only permission, then interact with the list from power apps using a power automate flow that get called from power apps, and which runs using a service account:- in this case we can define the business rules inside the power automate flow, and make sure that you can not modify the “Approval Status” field unless you are inside the Operation Managers group. so my question is which appraoch to follow and why? Thanks Read More
Multiple plots within 1 figure
I want to make multiple plots within 1 figure
I want to make a plot with days (x axis) and time (y axis set to 30 mins) .
Within each day, I want to make a line (corresponding to when trial was made; new_endpoint) and colour (timepertrial_backtrace).
I want to do this for all the days in that plot but I am not sure how to proceed.
I have put the snippet of code for doing it but it runs for 1 day only.
Any insight will be useful
%%
figure % make new figure
tiledlayout(numel(num_days), 1, ‘TileSpacing’, ‘compact’, ‘Padding’, ‘compact’);
range_col = 800; % range upper limit for my values
for day = 1:numel(num_days)
% Load the variable for the specific day here
load( fullfile(matlist(days_F3187(1,day)).folder, matlist(days_F3187(1,day)).name) ); % Load variables from the .mat file
% the above are .mat file where i store information for each day and I
% load them 1 by 1 as needed
nexttile;
new_endpoint = endpoint / 12000; % 200 Hz frame rate
trial_color_range = parula(range_col+1); % Generating a color range from 0 to range
for i = 1:trialno
% Map the color based on timepertrial_backtrace within the color range
color_index = min(max(round(timepertrial_backtraced(i)), 0), range_col);
trial_color = trial_color_range(color_index + 1, :); % Select color from the color range
% Plotting the line for the current trial with the assigned color
plot([day-1, day], [new_endpoint(i), new_endpoint(i)], ‘Color’, trial_color, ‘LineWidth’, 1);
hold on;
end
hold off;
title([‘Day ‘ num2str(day)]);
xlabel(‘Day’);
ylabel(’30 mins’);
clear trial_color % Clear the trial_color variable for the next iteration
end
sgtitle(‘Timepoints within 30-minute sessions colored based on timepertrial_backtraced’);
This is the figure generated:
However, only 1 day is created and I want information for all the days to be displayed.
How should I approach this problem?I want to make multiple plots within 1 figure
I want to make a plot with days (x axis) and time (y axis set to 30 mins) .
Within each day, I want to make a line (corresponding to when trial was made; new_endpoint) and colour (timepertrial_backtrace).
I want to do this for all the days in that plot but I am not sure how to proceed.
I have put the snippet of code for doing it but it runs for 1 day only.
Any insight will be useful
%%
figure % make new figure
tiledlayout(numel(num_days), 1, ‘TileSpacing’, ‘compact’, ‘Padding’, ‘compact’);
range_col = 800; % range upper limit for my values
for day = 1:numel(num_days)
% Load the variable for the specific day here
load( fullfile(matlist(days_F3187(1,day)).folder, matlist(days_F3187(1,day)).name) ); % Load variables from the .mat file
% the above are .mat file where i store information for each day and I
% load them 1 by 1 as needed
nexttile;
new_endpoint = endpoint / 12000; % 200 Hz frame rate
trial_color_range = parula(range_col+1); % Generating a color range from 0 to range
for i = 1:trialno
% Map the color based on timepertrial_backtrace within the color range
color_index = min(max(round(timepertrial_backtraced(i)), 0), range_col);
trial_color = trial_color_range(color_index + 1, :); % Select color from the color range
% Plotting the line for the current trial with the assigned color
plot([day-1, day], [new_endpoint(i), new_endpoint(i)], ‘Color’, trial_color, ‘LineWidth’, 1);
hold on;
end
hold off;
title([‘Day ‘ num2str(day)]);
xlabel(‘Day’);
ylabel(’30 mins’);
clear trial_color % Clear the trial_color variable for the next iteration
end
sgtitle(‘Timepoints within 30-minute sessions colored based on timepertrial_backtraced’);
This is the figure generated:
However, only 1 day is created and I want information for all the days to be displayed.
How should I approach this problem? I want to make multiple plots within 1 figure
I want to make a plot with days (x axis) and time (y axis set to 30 mins) .
Within each day, I want to make a line (corresponding to when trial was made; new_endpoint) and colour (timepertrial_backtrace).
I want to do this for all the days in that plot but I am not sure how to proceed.
I have put the snippet of code for doing it but it runs for 1 day only.
Any insight will be useful
%%
figure % make new figure
tiledlayout(numel(num_days), 1, ‘TileSpacing’, ‘compact’, ‘Padding’, ‘compact’);
range_col = 800; % range upper limit for my values
for day = 1:numel(num_days)
% Load the variable for the specific day here
load( fullfile(matlist(days_F3187(1,day)).folder, matlist(days_F3187(1,day)).name) ); % Load variables from the .mat file
% the above are .mat file where i store information for each day and I
% load them 1 by 1 as needed
nexttile;
new_endpoint = endpoint / 12000; % 200 Hz frame rate
trial_color_range = parula(range_col+1); % Generating a color range from 0 to range
for i = 1:trialno
% Map the color based on timepertrial_backtrace within the color range
color_index = min(max(round(timepertrial_backtraced(i)), 0), range_col);
trial_color = trial_color_range(color_index + 1, :); % Select color from the color range
% Plotting the line for the current trial with the assigned color
plot([day-1, day], [new_endpoint(i), new_endpoint(i)], ‘Color’, trial_color, ‘LineWidth’, 1);
hold on;
end
hold off;
title([‘Day ‘ num2str(day)]);
xlabel(‘Day’);
ylabel(’30 mins’);
clear trial_color % Clear the trial_color variable for the next iteration
end
sgtitle(‘Timepoints within 30-minute sessions colored based on timepertrial_backtraced’);
This is the figure generated:
However, only 1 day is created and I want information for all the days to be displayed.
How should I approach this problem? plot, tiledplot, multiple figure, subplot MATLAB Answers — New Questions
How to add a time delay to a diagonal ss from a reside pole function?
Hi,
I have a list of poles (Ak) and residues(Ck) and one delay (tau) that corresponds to the following function:
I have created a ss representation of the rational function and also calculate the function analytically.
I have compared both functions using a bodeplot and they do not match when the time delay is present but match without it.
Can someone help me to find out how to add the time delay correctly?
% Delay problem
Ak = [-0.0633296088793117 + 0.00000000000000i
-0.188476918974608 + 0.00000000000000i
-0.592850411790702 + 0.00000000000000i];
Ck = [2.67546115276169e-05 + 0.00000000000000i
0.000235105989428637 + 0.00000000000000i
0.00132009482602487 + 0.00000000000000i];
D = 0;
tau = 0.001013802649678;
% Express as diagona form
F_A = eye(size(Ak,1),size(Ak,1)).*Ak;
F_B = ones(size(Ak));
F_C = Ck.’;
F_D = D;
Fss = ss(F_A,F_B,F_C,F_D,’OutputDelay’,tau);
% Analytic function
freq = logspace(-3,6,1000);
w = 2*pi*freq;
f = D;
for i = 1:length(Ak)
f = f + Ck(i)./(1j*w – Ak(i));
end
f = f.* exp(-1j*w.*tau);
Fana = frd(f,w);
% Comparison bode plot
opts = bodeoptions;
opts.FreqUnits = ‘Hz’;
opts.FreqScale = ‘Log’;
opts.MagUnits = ‘abs’;
opts.MagScale = ‘Linear’;
opts.grid = ‘on’;
figure, bodeplot(Fss,Fana,w,opts)
title("Bode plot of H")
legend(‘SS model’, ‘Analitic’)
Thanks and BR,
//JHHi,
I have a list of poles (Ak) and residues(Ck) and one delay (tau) that corresponds to the following function:
I have created a ss representation of the rational function and also calculate the function analytically.
I have compared both functions using a bodeplot and they do not match when the time delay is present but match without it.
Can someone help me to find out how to add the time delay correctly?
% Delay problem
Ak = [-0.0633296088793117 + 0.00000000000000i
-0.188476918974608 + 0.00000000000000i
-0.592850411790702 + 0.00000000000000i];
Ck = [2.67546115276169e-05 + 0.00000000000000i
0.000235105989428637 + 0.00000000000000i
0.00132009482602487 + 0.00000000000000i];
D = 0;
tau = 0.001013802649678;
% Express as diagona form
F_A = eye(size(Ak,1),size(Ak,1)).*Ak;
F_B = ones(size(Ak));
F_C = Ck.’;
F_D = D;
Fss = ss(F_A,F_B,F_C,F_D,’OutputDelay’,tau);
% Analytic function
freq = logspace(-3,6,1000);
w = 2*pi*freq;
f = D;
for i = 1:length(Ak)
f = f + Ck(i)./(1j*w – Ak(i));
end
f = f.* exp(-1j*w.*tau);
Fana = frd(f,w);
% Comparison bode plot
opts = bodeoptions;
opts.FreqUnits = ‘Hz’;
opts.FreqScale = ‘Log’;
opts.MagUnits = ‘abs’;
opts.MagScale = ‘Linear’;
opts.grid = ‘on’;
figure, bodeplot(Fss,Fana,w,opts)
title("Bode plot of H")
legend(‘SS model’, ‘Analitic’)
Thanks and BR,
//JH Hi,
I have a list of poles (Ak) and residues(Ck) and one delay (tau) that corresponds to the following function:
I have created a ss representation of the rational function and also calculate the function analytically.
I have compared both functions using a bodeplot and they do not match when the time delay is present but match without it.
Can someone help me to find out how to add the time delay correctly?
% Delay problem
Ak = [-0.0633296088793117 + 0.00000000000000i
-0.188476918974608 + 0.00000000000000i
-0.592850411790702 + 0.00000000000000i];
Ck = [2.67546115276169e-05 + 0.00000000000000i
0.000235105989428637 + 0.00000000000000i
0.00132009482602487 + 0.00000000000000i];
D = 0;
tau = 0.001013802649678;
% Express as diagona form
F_A = eye(size(Ak,1),size(Ak,1)).*Ak;
F_B = ones(size(Ak));
F_C = Ck.’;
F_D = D;
Fss = ss(F_A,F_B,F_C,F_D,’OutputDelay’,tau);
% Analytic function
freq = logspace(-3,6,1000);
w = 2*pi*freq;
f = D;
for i = 1:length(Ak)
f = f + Ck(i)./(1j*w – Ak(i));
end
f = f.* exp(-1j*w.*tau);
Fana = frd(f,w);
% Comparison bode plot
opts = bodeoptions;
opts.FreqUnits = ‘Hz’;
opts.FreqScale = ‘Log’;
opts.MagUnits = ‘abs’;
opts.MagScale = ‘Linear’;
opts.grid = ‘on’;
figure, bodeplot(Fss,Fana,w,opts)
title("Bode plot of H")
legend(‘SS model’, ‘Analitic’)
Thanks and BR,
//JH state space, delays, bode MATLAB Answers — New Questions
Microsoft Mesh 2408 is now available
Microsoft Mesh became generally available on Jan 24 and updates frequently. Microsoft Mesh 2408 is now available in the Microsoft and Quest app stores.
Want to make your virtual events immersive? Try Microsoft Mesh, a 3D experience that lets you take your Teams avatar and walk around a virtual space either in Teams or in an app from the Microsoft Store. For more information, see www.mesh.com. Microsoft Mesh became generally available on Jan 24 and updates frequently. Microsoft Mesh 2408 is now available in the Microsoft and Quest app stores.
For more info, see Release notes for Mesh – Microsoft Mesh | Microsoft Learn
If your Mesh Windows app hasn’t updated automatically yet, open the Microsoft Store app, click Library and then click Get updates. Read More
Can removal of certain rows be automated?
Hi,
I will be getting an Excel file with some 1000 rows and 10 columns. The rows that have a value of N1 in column F and a value of N2 or N3 in column H should be removed (predicted outcome: about half the rows will remain). Can that be automated and if so, how?
Please note that I have only basic working knowledge of Excel and none of Macros if applicable, so please explain step by clear step. Thanx in advance.
Hi, I will be getting an Excel file with some 1000 rows and 10 columns. The rows that have a value of N1 in column F and a value of N2 or N3 in column H should be removed (predicted outcome: about half the rows will remain). Can that be automated and if so, how? Please note that I have only basic working knowledge of Excel and none of Macros if applicable, so please explain step by clear step. Thanx in advance. Read More
Canary crashing
I noticed a short while ago that Edge Canary had disappeared. So….. I reopened it and sure enough, a couple of minutes later it crashed. Did the cursory repair and still have the issue. Has anyone else seen this. Just started today.
I noticed a short while ago that Edge Canary had disappeared. So….. I reopened it and sure enough, a couple of minutes later it crashed. Did the cursory repair and still have the issue. Has anyone else seen this. Just started today. Version 128.0.2689.0 (Official build) canary (64-bit) Read More
Microsoft Teams in Windows 365 and Azure Virtual Desktop
We are excited to announce the public preview of the new optimization architecture for Microsoft Teams on Azure Virtual Desktop and Windows 365 is now rolled out for all users. This new architecture is designed to close the feature gap between native Teams and Teams for Virtual Desktop Infrastructure (VDI) by enhancing performance, providing auto updates, and streamlining support.
The new architecture introduces several key improvements over the existing optimization. A new client-side plug-in is responsible for establishing a virtual channel with Teams on the server and subsequently handling media engine downloads. Once the plug-in is deployed, Teams will send instructions for the specific media engine version it requires, and the plug-in will handle the rest. SlimCore, the new media engine, replaces WebRTC and offers the same quality and reliability you experience in the native Teams client for Windows. SlimCore is responsible for interactive connectivity establishment for STUN and TURN procedures, real-time media using Secure Real-time Transport Protocol (SRTP), and signaling through UDP or HTTPS.
The new optimization architecture supports a range of new features, including advanced meeting capabilities, telephony and voice capabilities, location-based routing and media bypass, quality of service, and improved supportability, as outlined in the table below.
Advanced meeting capabilities
Gallery view 3×3 and 7×7
Custom meeting backgrounds uploaded via Teams admin center
List item 3
1080p
Computer sound while screen sharing
Hardware acceleration on the endpoint
Presenter mode
Teams Premium*
Telephony and voice capabilities
Location-based routing and media bypass
Quality of Service (QoS)
Human Interface Device (HID)
Noise suppression
Better supportability
Teams admin center
Call Quality Dashboard
* For a full list of Teams Premium features that are supported/unsupported, please check out our official documentation.
For more information on the new optimization architecture and how to enable it, see New VDI solution for Teams and the Microsoft Teams blog.
Continue the conversation. Find best practices. Bookmark the Windows Tech Community, then follow us @MSWindowsITPro on X and on LinkedIn. Looking for support? Visit Windows on Microsoft Q&A.
Microsoft Tech Community – Latest Blogs –Read More
Dear All, I am having a time series data with a step size of 0.01 and I want to calculate the largest Lyapunov exponent value for this data. No additional information is left.
How to calculate the Largest/dominant Lyapunov Exponent (LLE) for a time series data points ?
I have a time series data points value (File of containing 50000 values of a variable (i.e. x position values / x velocity / Temperature at point) with a time step of 0.01). I have attached a .csv file on this Question.
I have tried the Matlab Function (lyapExp = lyapunovExponent(X,fs)).
I have tried with a lograthim equation (Eq: 12) for calculating the Largest Lyapunov exponent value given on the paper :"Transient natural convection flows and heat transfer in a thermally stratified air-filled trapezoidal cavity"
If anybody knows how to calculate the Largest Lyapunov exponent value for a time series data value. Please help me to find out this.
Thanks in advance!!How to calculate the Largest/dominant Lyapunov Exponent (LLE) for a time series data points ?
I have a time series data points value (File of containing 50000 values of a variable (i.e. x position values / x velocity / Temperature at point) with a time step of 0.01). I have attached a .csv file on this Question.
I have tried the Matlab Function (lyapExp = lyapunovExponent(X,fs)).
I have tried with a lograthim equation (Eq: 12) for calculating the Largest Lyapunov exponent value given on the paper :"Transient natural convection flows and heat transfer in a thermally stratified air-filled trapezoidal cavity"
If anybody knows how to calculate the Largest Lyapunov exponent value for a time series data value. Please help me to find out this.
Thanks in advance!! How to calculate the Largest/dominant Lyapunov Exponent (LLE) for a time series data points ?
I have a time series data points value (File of containing 50000 values of a variable (i.e. x position values / x velocity / Temperature at point) with a time step of 0.01). I have attached a .csv file on this Question.
I have tried the Matlab Function (lyapExp = lyapunovExponent(X,fs)).
I have tried with a lograthim equation (Eq: 12) for calculating the Largest Lyapunov exponent value given on the paper :"Transient natural convection flows and heat transfer in a thermally stratified air-filled trapezoidal cavity"
If anybody knows how to calculate the Largest Lyapunov exponent value for a time series data value. Please help me to find out this.
Thanks in advance!! lyapunov exponent, time series MATLAB Answers — New Questions
Parellel ocmputing on HPC
Hi all,
I am trying make predictions with a machine learning model. I want to excercise the parellel processing on a HPC cluster with 128 cores. I run the script ‘step_4.m’ with slurm.sh. Unfortunately, the input files are not getting processed in parellel, rather they are processed one by one. Could any offer a help?
Thank you!
slurm.sh
#!/bin/bash
#SBATCH –job-name=ml_test
#SBATCH –output=matlab_job_output.log
#SBATCH –error=matlab_job_error.log
# CHANGE TO YOUR EMAIL ADDRESS
#SBATCH –mail-type=END
#SBATCH –mail-user=xyz@oregonstate.edu
#SBATCH –partition=preempt.q
#SBATCH –nodes=1
#SBATCH –ntasks-per-node=128
#Load MATLAB module
module load matlab/R2023b
#Run MATLAB script
matlab -nodisplay -nodesktop < step_4.m
p.s. step_4_.m script is attachedHi all,
I am trying make predictions with a machine learning model. I want to excercise the parellel processing on a HPC cluster with 128 cores. I run the script ‘step_4.m’ with slurm.sh. Unfortunately, the input files are not getting processed in parellel, rather they are processed one by one. Could any offer a help?
Thank you!
slurm.sh
#!/bin/bash
#SBATCH –job-name=ml_test
#SBATCH –output=matlab_job_output.log
#SBATCH –error=matlab_job_error.log
# CHANGE TO YOUR EMAIL ADDRESS
#SBATCH –mail-type=END
#SBATCH –mail-user=xyz@oregonstate.edu
#SBATCH –partition=preempt.q
#SBATCH –nodes=1
#SBATCH –ntasks-per-node=128
#Load MATLAB module
module load matlab/R2023b
#Run MATLAB script
matlab -nodisplay -nodesktop < step_4.m
p.s. step_4_.m script is attached Hi all,
I am trying make predictions with a machine learning model. I want to excercise the parellel processing on a HPC cluster with 128 cores. I run the script ‘step_4.m’ with slurm.sh. Unfortunately, the input files are not getting processed in parellel, rather they are processed one by one. Could any offer a help?
Thank you!
slurm.sh
#!/bin/bash
#SBATCH –job-name=ml_test
#SBATCH –output=matlab_job_output.log
#SBATCH –error=matlab_job_error.log
# CHANGE TO YOUR EMAIL ADDRESS
#SBATCH –mail-type=END
#SBATCH –mail-user=xyz@oregonstate.edu
#SBATCH –partition=preempt.q
#SBATCH –nodes=1
#SBATCH –ntasks-per-node=128
#Load MATLAB module
module load matlab/R2023b
#Run MATLAB script
matlab -nodisplay -nodesktop < step_4.m
p.s. step_4_.m script is attached parallel computing, hpc, prediction MATLAB Answers — New Questions
Please can you help me solve the temporary omega?
J=Jacob(th1(i),th2(i),th3(i),th4(i));
W_t=W(i,:)’; Index in position 1 exceeds array bounds. Index must not exceed 4.
V=J*W_t;
dim = [0.8 0.5 0.4 0.3];
annotation(‘textbox’,dim,’String’,num2str(V))J=Jacob(th1(i),th2(i),th3(i),th4(i));
W_t=W(i,:)’; Index in position 1 exceeds array bounds. Index must not exceed 4.
V=J*W_t;
dim = [0.8 0.5 0.4 0.3];
annotation(‘textbox’,dim,’String’,num2str(V)) J=Jacob(th1(i),th2(i),th3(i),th4(i));
W_t=W(i,:)’; Index in position 1 exceeds array bounds. Index must not exceed 4.
V=J*W_t;
dim = [0.8 0.5 0.4 0.3];
annotation(‘textbox’,dim,’String’,num2str(V)) temporary omega MATLAB Answers — New Questions
How to display skeleton data
Hello, I hope you have a good day…What MATLAB command can be used to display skeletal data in 3D from this matrix? He explained: The first line is related to the data recording time, and the second line is the joint number, and the third, fourth, and fifth lines are related to the x-axis, y-axis, and z-axis of the joint 0. It continues in the same way. How can the moving skeleton be displayed? Wrote? The data form is as follows.time, 0, joint0_x, joint0_y, joint0_z, 1, joint1_x, joint1_y, joint1_z, 2, joint2_x, joint2_y, joint2_z, .I know and have studied the skeleton display code on different sites, but I was confused about my own code. please guide me. tanx so much.Hello, I hope you have a good day…What MATLAB command can be used to display skeletal data in 3D from this matrix? He explained: The first line is related to the data recording time, and the second line is the joint number, and the third, fourth, and fifth lines are related to the x-axis, y-axis, and z-axis of the joint 0. It continues in the same way. How can the moving skeleton be displayed? Wrote? The data form is as follows.time, 0, joint0_x, joint0_y, joint0_z, 1, joint1_x, joint1_y, joint1_z, 2, joint2_x, joint2_y, joint2_z, .I know and have studied the skeleton display code on different sites, but I was confused about my own code. please guide me. tanx so much. Hello, I hope you have a good day…What MATLAB command can be used to display skeletal data in 3D from this matrix? He explained: The first line is related to the data recording time, and the second line is the joint number, and the third, fourth, and fifth lines are related to the x-axis, y-axis, and z-axis of the joint 0. It continues in the same way. How can the moving skeleton be displayed? Wrote? The data form is as follows.time, 0, joint0_x, joint0_y, joint0_z, 1, joint1_x, joint1_y, joint1_z, 2, joint2_x, joint2_y, joint2_z, .I know and have studied the skeleton display code on different sites, but I was confused about my own code. please guide me. tanx so much. plot skeleton data MATLAB Answers — New Questions
Sorry you don’t have access
Hello
Please i need your help on this issue.
I am the owner of our Recruitment Agency and related domains and services.
When I try to access the MS365 Admin portal I get the error that says”
“Sorry, you don’t have access to this app. The Microsoft Teams Admin Center allows admins to manage teams and Microsoft 365 for their organization, and only people with specific admin roles can access it. If you use a different user account for admin work, try switching accounts: Select the profile picture at the top of teams to switch.
In addition, I should be the sole admin for this as well as the MS Teams application.
Hello Please i need your help on this issue. I am the owner of our Recruitment Agency and related domains and services.When I try to access the MS365 Admin portal I get the error that says”“Sorry, you don’t have access to this app. The Microsoft Teams Admin Center allows admins to manage teams and Microsoft 365 for their organization, and only people with specific admin roles can access it. If you use a different user account for admin work, try switching accounts: Select the profile picture at the top of teams to switch. In addition, I should be the sole admin for this as well as the MS Teams application. Read More
X Lookup vs Index Match
Is there a situation in which X Lookup or Index Match are better than the other?
Is there a situation in which X Lookup or Index Match are better than the other? Read More
Microsoft Mesh 2408 is now available in the Microsoft and Quest app stores.
You can now have 5 broadcasters instead of 3
Event organizers in the Host room can see profile bubbles of attendees sending emojis or raising hands. Also, organizers can call on the handraisers by clicking the avatar or profile bubble.
Add text directly to your event like other objects (screenshare, image, videos)
Microsoft Mesh 2408 is now available in the Microsoft and Quest app stores.
Highlights:
You can now have 5 broadcasters instead of 3
Event organizers in the Host room can see profile bubbles of attendees sending emojis or raising hands. Also, organizers can call on the handraisers by clicking the avatar or profile bubble.
Add text directly to your event like other objects (screenshare, image, videos)
For more info, see Release notes for Mesh – Microsoft Mesh | Microsoft Learn
If your Mesh Windows app hasn’t updated automatically yet, open the Microsoft Store app, click Library and then click Get updates. Read More
viscircles function generates an error message
When I run the following code, the circles are detected but viscircles generates an error.
clear;
close all;
myImage = imread("washers.png");
G = im2gray(myImage);
fig1 = figure(1);
imshow(myImage);
[centers, radii] = imfindcircles(myImage, [10 150], ‘ObjectPolarity’, ‘bright’);
h = viscircles(centers, radii, Color=’b’);
Error Message –
Error using line
Too many input arguments.
Error in viscircles (line 43)
line(x,y,’Parent’,h, …
Error in ImageCircle (line 11)
h=viscircles(centers, radii,Color=’b’);When I run the following code, the circles are detected but viscircles generates an error.
clear;
close all;
myImage = imread("washers.png");
G = im2gray(myImage);
fig1 = figure(1);
imshow(myImage);
[centers, radii] = imfindcircles(myImage, [10 150], ‘ObjectPolarity’, ‘bright’);
h = viscircles(centers, radii, Color=’b’);
Error Message –
Error using line
Too many input arguments.
Error in viscircles (line 43)
line(x,y,’Parent’,h, …
Error in ImageCircle (line 11)
h=viscircles(centers, radii,Color=’b’); When I run the following code, the circles are detected but viscircles generates an error.
clear;
close all;
myImage = imread("washers.png");
G = im2gray(myImage);
fig1 = figure(1);
imshow(myImage);
[centers, radii] = imfindcircles(myImage, [10 150], ‘ObjectPolarity’, ‘bright’);
h = viscircles(centers, radii, Color=’b’);
Error Message –
Error using line
Too many input arguments.
Error in viscircles (line 43)
line(x,y,’Parent’,h, …
Error in ImageCircle (line 11)
h=viscircles(centers, radii,Color=’b’); viscircles MATLAB Answers — New Questions