Month: July 2024
Formulas and Functionsn
Hi,
How to change format in
=TODAY()+5
to dd-mm-yyyy format?
Hi,How to change format in =TODAY()+5to dd-mm-yyyy format? Read More
Developer story: CrystalDiskMark and CrystalDiskInfo
Have you ever heard of “CrystalDiskMark” or “CrystalDiskInfo“? Many of you reading this blog might have used these tools or at least know what they are. These widely used open-source benchmarking tools, now recognized globally, began with the idea of a Japanese developer. Instead of focusing on developing commercial products as paid work, he chose to support users for years by offering these tools as part of a community effort.
In this blog, we will look back at the journey of Developer Technologies MVP Noriyuki Miyazaki, who has significantly influenced the world as the developer of these software tools. We will explore how he overcame challenges and share his message for those who aspire to create software that supports many users.
The journey of a solo developer
Noriyuki’s interest in benchmarking began in 1995 when he was a high school sophomore and a friend introduced him to WindSock, a benchmarking software for Windows 3.1. In 1998, upon entering university, he spent four years developing CrystalMark06, a comprehensive benchmarking tool with internet ranking capabilities. He later refined it over two years, releasing CrystalMark 2004 with 3D (OpenGL) support, and in 2002, he released CrystalCPUID, which displayed CPU information and supported speed control.
According to Noriyuki, CrystalMark 2004 and CrystalCPUID did not gain widespread popularity. However, he continued to improve his tools, leading to the release of CrystalDiskMark in 2007 for measuring storage speed and CrystalDiskInfo in 2008 for monitoring storage health. These tools have been downloaded over 100 million times and are used by many users worldwide.
Feedback from global users and new connections
As Noriyuki’s benchmarking software became more widely known, feedback from users poured in. One particularly memorable comment was, “Thanks to CrystalDiskInfo, I noticed an issue with my HDD and could back up my data before losing it.” He says, “While CrystalDiskInfo can’t detect all anomalies, I’m glad it helped protect users’ valuable data.”
When asked about his most rewarding experience over his long development journey, Noriyuki says, “Meeting companions who enjoy developing products together.” Notably, he met a new friend Bellche at the Open Source Conference 2011, who has since helped produce official support character goods and organize events.
Overcoming challenges with community support
Over 20 years have passed since the release of his first software, CrystalMark06. Throughout this long journey, Noriyuki faced various challenges. However, as a community member, he overcame these with the support of others. “Even if I couldn’t solve something alone, someone around the world would help. I’m grateful every day for everyone who helped my open-source development,” he reflects. Here are two examples of his challenges:
Bug Fixes:
“The initial release of CrystalDiskMark had three critical bugs, discovered every few months. Each time a bug was found, I received harsh criticism, but I fixed them immediately and disclosed the causes transparently. Despite these critical issues shaking users’ trust, I could continue development thanks to their support.”
Technical Challenges:
“Supporting external HDDs/SSDs in CrystalDiskInfo was challenging since Windows’ standard features only retrieve information for internal drives. I sought help on my website and received a detailed response, complete with source code, on how to support USB-connected drives. With users’ and storage vendors’ cooperation, I overcame many technical hurdles, adding support for NVMe and some RAID configurations.”
Message to aspiring developers
Noriyuki, whose software has surpassed 100 million downloads, remains dedicated to developing benchmark tools loved by users worldwide. Recently, he released CrystalMark Retro, an improved version of CrystalMark 2004, showing his continued passion for delivering new software.
Noriyuki’s journey, which started as a student in Japan, has led to globally used software. For those aspiring to create software loved worldwide, he offers this encouraging message:
“I’ve continued developing for over 20 years as a professional, working on weeknights and weekends. Here are three key points I cherish:
Create what you want to create.
Don’t strive for perfection.
Don’t overdo it.
I aim to keep developing joyfully, creating software loved by users worldwide.”
It’s clear that technology has advanced, and computer usage has spread among the general public since the late 1990s when Noriyuki started developing. The evolution of the Internet and the advent of smartphones have made information gathering, sharing, and communication more accessible. The recent rise of generative AI is a crucial technological advancement, enabling anyone to create solutions that benefit society and drive innovation. It’s your turn to be that individual who makes a difference for many!
Microsoft Tech Community – Latest Blogs –Read More
set a maximum training time for training a PPO agent
In training process of a PPO RL agent, how can I make the code check the elapsed time and stop training if it exceeds the desired threshold. Suppose you want to stop training after a maximum of 30 minutes (1800 seconds).In training process of a PPO RL agent, how can I make the code check the elapsed time and stop training if it exceeds the desired threshold. Suppose you want to stop training after a maximum of 30 minutes (1800 seconds). In training process of a PPO RL agent, how can I make the code check the elapsed time and stop training if it exceeds the desired threshold. Suppose you want to stop training after a maximum of 30 minutes (1800 seconds). reinforcement learning MATLAB Answers — New Questions
matlab work slowly when plot
Hello, I’m Having problem Which is when i run my code and there is plot in the code, matlab work very slowly and take more time.
also when i wan’t to zoom in or zoom out for the figure it take more than 5 minutes also it hang and the control is very slowly any help ?
the code work fine and no problem with it.Hello, I’m Having problem Which is when i run my code and there is plot in the code, matlab work very slowly and take more time.
also when i wan’t to zoom in or zoom out for the figure it take more than 5 minutes also it hang and the control is very slowly any help ?
the code work fine and no problem with it. Hello, I’m Having problem Which is when i run my code and there is plot in the code, matlab work very slowly and take more time.
also when i wan’t to zoom in or zoom out for the figure it take more than 5 minutes also it hang and the control is very slowly any help ?
the code work fine and no problem with it. matlab MATLAB Answers — New Questions
How to Filter Rows of Cell Array By Date Range
Simplied my problem so it’s easier to solve. I have a 4×3 array "a" and want to remove rows not within a specified date range. I would like to do this without a loop that would slow down my code. Any suggestions matlab wizards out there?
%Date Range
MinDate = datetime(’14-Jul-2024′);
MaxDate = datetime(’17-July-2024′);
%Cell Array
a = cell(4,3);
random = [1 1
2 1
3 3
4 5];
dates = datetime({’10-Jul-2024′
’15-Jul-2024′
’20-Jul-2024′
’16-Jul-2024′});
a(:,3) = num2cell(dates);
a(:,1:2) = num2cell(random);
%How do I filter a by deleting rows not within Date Range? i.e. delete rows 1 & 3 based on the value of aSimplied my problem so it’s easier to solve. I have a 4×3 array "a" and want to remove rows not within a specified date range. I would like to do this without a loop that would slow down my code. Any suggestions matlab wizards out there?
%Date Range
MinDate = datetime(’14-Jul-2024′);
MaxDate = datetime(’17-July-2024′);
%Cell Array
a = cell(4,3);
random = [1 1
2 1
3 3
4 5];
dates = datetime({’10-Jul-2024′
’15-Jul-2024′
’20-Jul-2024′
’16-Jul-2024′});
a(:,3) = num2cell(dates);
a(:,1:2) = num2cell(random);
%How do I filter a by deleting rows not within Date Range? i.e. delete rows 1 & 3 based on the value of a Simplied my problem so it’s easier to solve. I have a 4×3 array "a" and want to remove rows not within a specified date range. I would like to do this without a loop that would slow down my code. Any suggestions matlab wizards out there?
%Date Range
MinDate = datetime(’14-Jul-2024′);
MaxDate = datetime(’17-July-2024′);
%Cell Array
a = cell(4,3);
random = [1 1
2 1
3 3
4 5];
dates = datetime({’10-Jul-2024′
’15-Jul-2024′
’20-Jul-2024′
’16-Jul-2024′});
a(:,3) = num2cell(dates);
a(:,1:2) = num2cell(random);
%How do I filter a by deleting rows not within Date Range? i.e. delete rows 1 & 3 based on the value of a cell array, array, arrays, matrix, datetime, data, cell, cell arrays, struct, importing excel data, sort, filter, matlab, mathematics, matrix array, matrix manipulation, index, indexing, find, solve, function, functions, matlab function, embedded matlab function, speed, performance MATLAB Answers — New Questions
How do I assign membership functions to the input and output of this ANFIS code
I want to add membership function to this ANFIS code to be able to train it. the membership function type is Gaussian and the number of mfs is numMembershipFunctions = [4 3 2 3 3 4 2] .Attached is the dataset file. The code is:
data = loadpublicHealthHeartDataset;
X = data(:,1:6);
Y = data(:,7);
trnData=[X,Y];
trnX = X(1:2:end,:); % Training input data set
trnY = Y(1:2:end,:); % Training output data set
vldX = X(2:2:end,:); % Validation input data set
vldY = Y(2:2:end,:); % Validation output data set
% Tune the data using Anfis
genAnfis = genfis(trnX,trnY, genfisOptions(‘GridPartition’));
opt = anfisOptions;
opt.InitialFIS = genAnfis;
opt.ValidationData = [vldX,vldY];
opt.EpochNumber = 30;
anfis1 = anfis(trnData,opt);
% Function to upload the dataset
function data= loadpublicHealthHeartDataset
% Get data from the original data file.
tableData = readtable("heartss.CSV");
% Convert the table to a numerical array
data = table2array(tableData(:, 1:7));
endI want to add membership function to this ANFIS code to be able to train it. the membership function type is Gaussian and the number of mfs is numMembershipFunctions = [4 3 2 3 3 4 2] .Attached is the dataset file. The code is:
data = loadpublicHealthHeartDataset;
X = data(:,1:6);
Y = data(:,7);
trnData=[X,Y];
trnX = X(1:2:end,:); % Training input data set
trnY = Y(1:2:end,:); % Training output data set
vldX = X(2:2:end,:); % Validation input data set
vldY = Y(2:2:end,:); % Validation output data set
% Tune the data using Anfis
genAnfis = genfis(trnX,trnY, genfisOptions(‘GridPartition’));
opt = anfisOptions;
opt.InitialFIS = genAnfis;
opt.ValidationData = [vldX,vldY];
opt.EpochNumber = 30;
anfis1 = anfis(trnData,opt);
% Function to upload the dataset
function data= loadpublicHealthHeartDataset
% Get data from the original data file.
tableData = readtable("heartss.CSV");
% Convert the table to a numerical array
data = table2array(tableData(:, 1:7));
end I want to add membership function to this ANFIS code to be able to train it. the membership function type is Gaussian and the number of mfs is numMembershipFunctions = [4 3 2 3 3 4 2] .Attached is the dataset file. The code is:
data = loadpublicHealthHeartDataset;
X = data(:,1:6);
Y = data(:,7);
trnData=[X,Y];
trnX = X(1:2:end,:); % Training input data set
trnY = Y(1:2:end,:); % Training output data set
vldX = X(2:2:end,:); % Validation input data set
vldY = Y(2:2:end,:); % Validation output data set
% Tune the data using Anfis
genAnfis = genfis(trnX,trnY, genfisOptions(‘GridPartition’));
opt = anfisOptions;
opt.InitialFIS = genAnfis;
opt.ValidationData = [vldX,vldY];
opt.EpochNumber = 30;
anfis1 = anfis(trnData,opt);
% Function to upload the dataset
function data= loadpublicHealthHeartDataset
% Get data from the original data file.
tableData = readtable("heartss.CSV");
% Convert the table to a numerical array
data = table2array(tableData(:, 1:7));
end anfis, membership function MATLAB Answers — New Questions
Generate look angles between aircraft and satellite
I need to calculate pointing angles from an antenna mounted on top of an airplane to a satellite. The plane will be flying in a large circle and the mounted antenna’s elevation must stay above 20 degrees. The satellite is GEO and can be considered stationary. These pointing angles must take into consideration aircraft roll, pitch, and yaw, antenna orientation with respect to the airframe.
Does the Aerospace or some other toolbox contain codes for this problem?I need to calculate pointing angles from an antenna mounted on top of an airplane to a satellite. The plane will be flying in a large circle and the mounted antenna’s elevation must stay above 20 degrees. The satellite is GEO and can be considered stationary. These pointing angles must take into consideration aircraft roll, pitch, and yaw, antenna orientation with respect to the airframe.
Does the Aerospace or some other toolbox contain codes for this problem? I need to calculate pointing angles from an antenna mounted on top of an airplane to a satellite. The plane will be flying in a large circle and the mounted antenna’s elevation must stay above 20 degrees. The satellite is GEO and can be considered stationary. These pointing angles must take into consideration aircraft roll, pitch, and yaw, antenna orientation with respect to the airframe.
Does the Aerospace or some other toolbox contain codes for this problem? look angles, matlab, antenna, rf, azimuth, elevation MATLAB Answers — New Questions
How Do I Convert and Image To A Line/Array
I am trying to create a software to covert MRI images into a 3D model and i am trying to create a line body or basic main body umage that i can use to stack and then connect in a mesh whcih i will convert into a 3D model. I have sharpened the images and reduced noise, i have it in grayscale but how do i get it down into a basic image or linbe so i can plot it. has anyone done somthing similar? Do you have a solution?I am trying to create a software to covert MRI images into a 3D model and i am trying to create a line body or basic main body umage that i can use to stack and then connect in a mesh whcih i will convert into a 3D model. I have sharpened the images and reduced noise, i have it in grayscale but how do i get it down into a basic image or linbe so i can plot it. has anyone done somthing similar? Do you have a solution? I am trying to create a software to covert MRI images into a 3D model and i am trying to create a line body or basic main body umage that i can use to stack and then connect in a mesh whcih i will convert into a 3D model. I have sharpened the images and reduced noise, i have it in grayscale but how do i get it down into a basic image or linbe so i can plot it. has anyone done somthing similar? Do you have a solution? medicine, matlab MATLAB Answers — New Questions
Website reported as unsafe
My website growthtrail.typedream.app was reported as unsafe by trolls on Discord. Whenever someone opens the site with Edge, a popup appears (it doesn’t on any other browser), and says the website is unsafe. I am the owner of the website and filed a ticket but noone ever got back to me after 7 days. The ticket number was fcbf232e-c1bb-4050-893d-280e013917f7. I contacted support and they were unable to help me after almost 2 hours of going back and forth. On Discord, I posted something to a massive server that apparently didn’t allow self-promotion (I forgot the name but the two people I messaged are Admins on that server). They then blocked and reported my site. I have my website edit history on TypeDream if you need it, I assure you there is no “phishing” on my website. It is just a home page with two buttons that both lead to the same Google Form. Please get back to me and remove the site label, I am losing customers who use Edge because they think my site is malicious.
My website growthtrail.typedream.app was reported as unsafe by trolls on Discord. Whenever someone opens the site with Edge, a popup appears (it doesn’t on any other browser), and says the website is unsafe. I am the owner of the website and filed a ticket but noone ever got back to me after 7 days. The ticket number was fcbf232e-c1bb-4050-893d-280e013917f7. I contacted support and they were unable to help me after almost 2 hours of going back and forth. On Discord, I posted something to a massive server that apparently didn’t allow self-promotion (I forgot the name but the two people I messaged are Admins on that server). They then blocked and reported my site. I have my website edit history on TypeDream if you need it, I assure you there is no “phishing” on my website. It is just a home page with two buttons that both lead to the same Google Form. Please get back to me and remove the site label, I am losing customers who use Edge because they think my site is malicious. Read More
Storing data to flash on F280039C from a Simulink model
I am currently trying to store parameters of a recursive regression model created in Simulink to some sort of nonvolatile memory on the TI C2000 gen3 / F280039C board, such that the calculations can continue after turning the device off and on again. I have found an EEPROM emulation project from mathworks (https://ch.mathworks.com/matlabcentral/fileexchange/92788-simulink-reference-application-examples-for-ti-c2000), which is however made for a different board and older generation of the TI C2000.
Is there any possibility to port this project to my newer board, or other ways to store my data in a nonvolatile manner from Simulink? What do I need to take into consideration when doing this?I am currently trying to store parameters of a recursive regression model created in Simulink to some sort of nonvolatile memory on the TI C2000 gen3 / F280039C board, such that the calculations can continue after turning the device off and on again. I have found an EEPROM emulation project from mathworks (https://ch.mathworks.com/matlabcentral/fileexchange/92788-simulink-reference-application-examples-for-ti-c2000), which is however made for a different board and older generation of the TI C2000.
Is there any possibility to port this project to my newer board, or other ways to store my data in a nonvolatile manner from Simulink? What do I need to take into consideration when doing this? I am currently trying to store parameters of a recursive regression model created in Simulink to some sort of nonvolatile memory on the TI C2000 gen3 / F280039C board, such that the calculations can continue after turning the device off and on again. I have found an EEPROM emulation project from mathworks (https://ch.mathworks.com/matlabcentral/fileexchange/92788-simulink-reference-application-examples-for-ti-c2000), which is however made for a different board and older generation of the TI C2000.
Is there any possibility to port this project to my newer board, or other ways to store my data in a nonvolatile manner from Simulink? What do I need to take into consideration when doing this? f280039c eeprom emulation, ti-c2000 eeprom emulation, f280039c nonvolatile memory, ti-c2000 nonvolatile memory MATLAB Answers — New Questions
How to convert something from Latex to matlab, is there a specific way where i can convert it with ease from latex to matlab, some function? please help
is there a specific way where i can convert it with ease from latex to matlab
an example of an equation i want to know how can i write it in matlab form from latex
example 1:
begin{equation} h_{k}=frac {A(m+1)}{2 pi d_{k}^{2}}cos ^{m}(phi _{k})T(psi _{k})g(psi _{k})cos (psi _{k}), end{equation}
example 2:
begin{align} tilde {R}_{k rightarrow j}!=! begin{cases} !! frac {B}{2} log _{2}left ({1 + frac {left ({ h_{k} a_{j} }right )^{2}} {sum _{i=j+1}^{K}left ({ h_{k} a_{i} }right )^{2} + varepsilon sum _{i=1}^{j-1}left ({ h_{k} a_{i} }right )^{2}+ 1/rho } }right ) geq T_{j},\ qquad j leq k,j neq K;\ !! frac {B}{2}log _{2} left ({! 1!+!frac {left ({ h_{K} a_{j} }right )^{2}} {varepsilon sum _{i=1}^{j-1}left ({ h_{K} a_{i} }right )^{2}+1/rho }}right ) !geq ! T_{j} , quad j=k=K;end{cases}!!!!!!!notag \ {}end{align}is there a specific way where i can convert it with ease from latex to matlab
an example of an equation i want to know how can i write it in matlab form from latex
example 1:
begin{equation} h_{k}=frac {A(m+1)}{2 pi d_{k}^{2}}cos ^{m}(phi _{k})T(psi _{k})g(psi _{k})cos (psi _{k}), end{equation}
example 2:
begin{align} tilde {R}_{k rightarrow j}!=! begin{cases} !! frac {B}{2} log _{2}left ({1 + frac {left ({ h_{k} a_{j} }right )^{2}} {sum _{i=j+1}^{K}left ({ h_{k} a_{i} }right )^{2} + varepsilon sum _{i=1}^{j-1}left ({ h_{k} a_{i} }right )^{2}+ 1/rho } }right ) geq T_{j},\ qquad j leq k,j neq K;\ !! frac {B}{2}log _{2} left ({! 1!+!frac {left ({ h_{K} a_{j} }right )^{2}} {varepsilon sum _{i=1}^{j-1}left ({ h_{K} a_{i} }right )^{2}+1/rho }}right ) !geq ! T_{j} , quad j=k=K;end{cases}!!!!!!!notag \ {}end{align} is there a specific way where i can convert it with ease from latex to matlab
an example of an equation i want to know how can i write it in matlab form from latex
example 1:
begin{equation} h_{k}=frac {A(m+1)}{2 pi d_{k}^{2}}cos ^{m}(phi _{k})T(psi _{k})g(psi _{k})cos (psi _{k}), end{equation}
example 2:
begin{align} tilde {R}_{k rightarrow j}!=! begin{cases} !! frac {B}{2} log _{2}left ({1 + frac {left ({ h_{k} a_{j} }right )^{2}} {sum _{i=j+1}^{K}left ({ h_{k} a_{i} }right )^{2} + varepsilon sum _{i=1}^{j-1}left ({ h_{k} a_{i} }right )^{2}+ 1/rho } }right ) geq T_{j},\ qquad j leq k,j neq K;\ !! frac {B}{2}log _{2} left ({! 1!+!frac {left ({ h_{K} a_{j} }right )^{2}} {varepsilon sum _{i=1}^{j-1}left ({ h_{K} a_{i} }right )^{2}+1/rho }}right ) !geq ! T_{j} , quad j=k=K;end{cases}!!!!!!!notag \ {}end{align} how to, latex, tex, special characters MATLAB Answers — New Questions
How should I assess the training of my agent using PPO and Q-learning?
Urgent !!!!
Hello everybody
I am working on my project to implement a reinforcement learning agent to evaluate the security level of a waf with sql injection.
I started by training two PPO and Q-learning algorithms. I would like you to help me analyze the convergent curve of my models and also if there are parameters to adjust in order to find the right learning rate value.
you will find my code attached and on the image the rewards by episodesUrgent !!!!
Hello everybody
I am working on my project to implement a reinforcement learning agent to evaluate the security level of a waf with sql injection.
I started by training two PPO and Q-learning algorithms. I would like you to help me analyze the convergent curve of my models and also if there are parameters to adjust in order to find the right learning rate value.
you will find my code attached and on the image the rewards by episodes Urgent !!!!
Hello everybody
I am working on my project to implement a reinforcement learning agent to evaluate the security level of a waf with sql injection.
I started by training two PPO and Q-learning algorithms. I would like you to help me analyze the convergent curve of my models and also if there are parameters to adjust in order to find the right learning rate value.
you will find my code attached and on the image the rewards by episodes transferred MATLAB Answers — New Questions
Converting Equation of Two Variables Into Matrix Elements – ERROR: Operator ‘*’ is not supported for operands of type ‘function_handle’.
Hello everyone,
I am trying to output a square matrix that is N x M in size, where N = M. In my case, N = 3. So this is a "3×3" matrix
I have a variable that’s called "Kernel". This variable is calculated as an equation in terms of "z" and "z_prime".
My values in z_prime will vary from L / 2N to (2N-1)*(L/2N) , in steps of "L/N".
My "z" variable will be used as an "integration variable" as seen below.
I am trying to calculate an output called the "Z Matrix" which will integrate the "Kernal" variable across specific ranges.
I attached a .pdf file to clarify my end goal.
See the .pdf file attached:
Z_Matrix_Output.pdf
My Integration Limits for "z" will be going from:
z_start = 0 : L/N : (N-1) * (L/N)
z_end = L/N : L/N : L
As of right now, I’m getting the error:
Operator ‘*’ is not supported for operands of type ‘function_handle’.
This is after I tried using "function handles" in my code.
In my attempt, I have tried to use for loops and created function handles to make it easier to generate this matrix.However, I didn’t end up with a "N X M" matrix, I just ended up with a "1 X N" matrix.
I know that there is a way to use "nested" for loops to generate a square matrix of an "N X M" size. However, I wasn’t quite sure on how to implement that in MATLAB for my case.
I have tried to look through different questions/answers on the Mathworks Forum regarding converting equations of two variables into "matrix elements". However, I wasn’t able to find anything that was relevant to my case.
I attached my MATLAB Code for reference.
See MATLAB .m file attached:
Z_Calculation.mHello everyone,
I am trying to output a square matrix that is N x M in size, where N = M. In my case, N = 3. So this is a "3×3" matrix
I have a variable that’s called "Kernel". This variable is calculated as an equation in terms of "z" and "z_prime".
My values in z_prime will vary from L / 2N to (2N-1)*(L/2N) , in steps of "L/N".
My "z" variable will be used as an "integration variable" as seen below.
I am trying to calculate an output called the "Z Matrix" which will integrate the "Kernal" variable across specific ranges.
I attached a .pdf file to clarify my end goal.
See the .pdf file attached:
Z_Matrix_Output.pdf
My Integration Limits for "z" will be going from:
z_start = 0 : L/N : (N-1) * (L/N)
z_end = L/N : L/N : L
As of right now, I’m getting the error:
Operator ‘*’ is not supported for operands of type ‘function_handle’.
This is after I tried using "function handles" in my code.
In my attempt, I have tried to use for loops and created function handles to make it easier to generate this matrix.However, I didn’t end up with a "N X M" matrix, I just ended up with a "1 X N" matrix.
I know that there is a way to use "nested" for loops to generate a square matrix of an "N X M" size. However, I wasn’t quite sure on how to implement that in MATLAB for my case.
I have tried to look through different questions/answers on the Mathworks Forum regarding converting equations of two variables into "matrix elements". However, I wasn’t able to find anything that was relevant to my case.
I attached my MATLAB Code for reference.
See MATLAB .m file attached:
Z_Calculation.m Hello everyone,
I am trying to output a square matrix that is N x M in size, where N = M. In my case, N = 3. So this is a "3×3" matrix
I have a variable that’s called "Kernel". This variable is calculated as an equation in terms of "z" and "z_prime".
My values in z_prime will vary from L / 2N to (2N-1)*(L/2N) , in steps of "L/N".
My "z" variable will be used as an "integration variable" as seen below.
I am trying to calculate an output called the "Z Matrix" which will integrate the "Kernal" variable across specific ranges.
I attached a .pdf file to clarify my end goal.
See the .pdf file attached:
Z_Matrix_Output.pdf
My Integration Limits for "z" will be going from:
z_start = 0 : L/N : (N-1) * (L/N)
z_end = L/N : L/N : L
As of right now, I’m getting the error:
Operator ‘*’ is not supported for operands of type ‘function_handle’.
This is after I tried using "function handles" in my code.
In my attempt, I have tried to use for loops and created function handles to make it easier to generate this matrix.However, I didn’t end up with a "N X M" matrix, I just ended up with a "1 X N" matrix.
I know that there is a way to use "nested" for loops to generate a square matrix of an "N X M" size. However, I wasn’t quite sure on how to implement that in MATLAB for my case.
I have tried to look through different questions/answers on the Mathworks Forum regarding converting equations of two variables into "matrix elements". However, I wasn’t able to find anything that was relevant to my case.
I attached my MATLAB Code for reference.
See MATLAB .m file attached:
Z_Calculation.m matrix array, matrix, matrix manipulation, integration, numerical integration MATLAB Answers — New Questions
Any ideas for making this exponential decay function match the actual data better?
Hi all,
I have been trying to fit some weight data that was collected over time to an exponential decay function. I have come up with the following:
f(t) = An + (A0 – An) * exp (- t / tau)
Where: An = final data point measured, A0 = initial data point measured, and tau = a time constant that I am seeking to fit/solve for.
I am using the following code to set up the decay and solve for tau. Data is the collected weight data and t is the times at which the data was collected:
funlist={@(tau, t) An + (A0 – An) .* exp(-t / tau),1}; % define function
[tau]=fminspleas(funlist,1,time,data); % tau estimate
A0 = data(1);
An = data(end);
fn_data=@(t) funlist{1}(tau,t);
When I go to plot the data points to compare it with the fit, I notice the decay function does not do well at later time points where there is a greater plateau (see attached). I am wondering if anyone has any code or functions suggestions to help improve the fit of the curve? Any suggestions are welcome. Thank you very much!Hi all,
I have been trying to fit some weight data that was collected over time to an exponential decay function. I have come up with the following:
f(t) = An + (A0 – An) * exp (- t / tau)
Where: An = final data point measured, A0 = initial data point measured, and tau = a time constant that I am seeking to fit/solve for.
I am using the following code to set up the decay and solve for tau. Data is the collected weight data and t is the times at which the data was collected:
funlist={@(tau, t) An + (A0 – An) .* exp(-t / tau),1}; % define function
[tau]=fminspleas(funlist,1,time,data); % tau estimate
A0 = data(1);
An = data(end);
fn_data=@(t) funlist{1}(tau,t);
When I go to plot the data points to compare it with the fit, I notice the decay function does not do well at later time points where there is a greater plateau (see attached). I am wondering if anyone has any code or functions suggestions to help improve the fit of the curve? Any suggestions are welcome. Thank you very much! Hi all,
I have been trying to fit some weight data that was collected over time to an exponential decay function. I have come up with the following:
f(t) = An + (A0 – An) * exp (- t / tau)
Where: An = final data point measured, A0 = initial data point measured, and tau = a time constant that I am seeking to fit/solve for.
I am using the following code to set up the decay and solve for tau. Data is the collected weight data and t is the times at which the data was collected:
funlist={@(tau, t) An + (A0 – An) .* exp(-t / tau),1}; % define function
[tau]=fminspleas(funlist,1,time,data); % tau estimate
A0 = data(1);
An = data(end);
fn_data=@(t) funlist{1}(tau,t);
When I go to plot the data points to compare it with the fit, I notice the decay function does not do well at later time points where there is a greater plateau (see attached). I am wondering if anyone has any code or functions suggestions to help improve the fit of the curve? Any suggestions are welcome. Thank you very much! exponential decay, custom cuve fitting MATLAB Answers — New Questions
Checking in: Microsoft AI Bootcamp For Educators
Hello TSP community!
Liz Butowicz here from the Microsoft Worldwide Learning team checking in on those of you delivering the Microsoft AI Bootcamp for Educators to see how they are going, any feedback from customers, and if you have any questions.
Looking forward to hearing from you!
Hello TSP community!
Liz Butowicz here from the Microsoft Worldwide Learning team checking in on those of you delivering the Microsoft AI Bootcamp for Educators to see how they are going, any feedback from customers, and if you have any questions.
Looking forward to hearing from you! Read More
Create/Edit On-Premise type inbound connector in UI after cmdlet update
Following the updates on 24th July to the New/Set-InboundConnector cmdlets, you can no longer create Inbound connectors of type on-premise in the UI.
You get the error:
Microsoft.Exchange.Management.Tasks.ConnectorNotApplicablePropertyException|The properties ‘RestrictDomainsToCertificate’ are not applicable to connector of type
‘OnPremises’ with the current combination. Connector creation or modification aborted.
Essentially, the RestrictDomainsToCertificate and RestrictDomainsToIPAddresses parameters were updated to only be allowed for partner connectors.
This is understandable, since these elements aren’t considered for emails delivered via on-premise connectors anyway.
However, if you try and create an on-premise connector in the Exchange Online UI, particularly for certificated based auth, the RestrictDomainsToCertificate is set to $true by default in the UI, even though the PowerShell param default is $false.
If so, you can still make the connector, you just need to do so via PowerShell, and either omit the -RestrictDomainsToCertificate parameter or explicitly set it as $false.
If you need to edit an existing connector that was created with this set to true, you need to set it to false first before editing, and again, only via PowerShell.
Set-InboundConnector -Identity “connectorID/name” -RestrictDomainsToCertificate:$false
Following the updates on 24th July to the New/Set-InboundConnector cmdlets, you can no longer create Inbound connectors of type on-premise in the UI. You get the error:Microsoft.Exchange.Management.Tasks.ConnectorNotApplicablePropertyException|The properties ‘RestrictDomainsToCertificate’ are not applicable to connector of type’OnPremises’ with the current combination. Connector creation or modification aborted. Essentially, the RestrictDomainsToCertificate and RestrictDomainsToIPAddresses parameters were updated to only be allowed for partner connectors.This is understandable, since these elements aren’t considered for emails delivered via on-premise connectors anyway. However, if you try and create an on-premise connector in the Exchange Online UI, particularly for certificated based auth, the RestrictDomainsToCertificate is set to $true by default in the UI, even though the PowerShell param default is $false. If so, you can still make the connector, you just need to do so via PowerShell, and either omit the -RestrictDomainsToCertificate parameter or explicitly set it as $false. If you need to edit an existing connector that was created with this set to true, you need to set it to false first before editing, and again, only via PowerShell.Set-InboundConnector -Identity “connectorID/name” -RestrictDomainsToCertificate:$false Read More
Using a variable to turn criteria off and on
I have been trying to design a template to standardize account reconciliation in a way that even excel novices could complete the process without too much instruction. There are 7 elements to the “account numbers” we use which allows us to group or split out sub accounts as needed. The way I have set up the template involves listing the CFS element then choosing match or ignore in the adjacent cell (as seen below) then using an unholy amount of IF statements. I feel like I have chosen the least effective way of setting this up, plus it required me to input macro-assigned buttons to add 0’s to the relevant blank columns on the reference sheets, increasing the file size even further. Is there a more efficient way to go about this process to keep my file size down and avoid needing all my RAM to work in this workbook? I will note that any given file could have 20+ different iterations of the Template sheet with various combinations of the CFS elements, so I know the current version I’ve made is a recipe for future frustration. File is attached for anyone who wants to be disturbed looking at my 540+ character long formulas.
OrgPBH60000IGNOREFundSPNSRIGNOREFunction13IGNOREEntity0IGNORESource0IGNOREPurpose0IGNOREProject20000957MATCH
I have been trying to design a template to standardize account reconciliation in a way that even excel novices could complete the process without too much instruction. There are 7 elements to the “account numbers” we use which allows us to group or split out sub accounts as needed. The way I have set up the template involves listing the CFS element then choosing match or ignore in the adjacent cell (as seen below) then using an unholy amount of IF statements. I feel like I have chosen the least effective way of setting this up, plus it required me to input macro-assigned buttons to add 0’s to the relevant blank columns on the reference sheets, increasing the file size even further. Is there a more efficient way to go about this process to keep my file size down and avoid needing all my RAM to work in this workbook? I will note that any given file could have 20+ different iterations of the Template sheet with various combinations of the CFS elements, so I know the current version I’ve made is a recipe for future frustration. File is attached for anyone who wants to be disturbed looking at my 540+ character long formulas. OrgPBH60000IGNOREFundSPNSRIGNOREFunction13IGNOREEntity0IGNORESource0IGNOREPurpose0IGNOREProject20000957MATCH Read More
REGISTER TODAY: Azure Office Hours | August 15th
Join us on August 15th, 8:00am – 9:00am PT for Azure Office Hours as our Microsoft SMEs walk you through the new Azure Nonprofit Data Strategy eBook for ITDMs.
Hear the highlights on the new in-depth eBook and gather some tips on how to help nonprofits harness their data to drive nonprofit mission success. Learn how Microsoft Fabric’s integrated analytics platform, combined with a robust data strategy, is key to driving mission success for nonprofits.
Speakers
Sergio Victorio Queija
Director, Industry, Tech for Social Impact, Microsoft Philanthropies
Christian Bucher
Senior Specialist, Tech for Social Impact, Microsoft CELAI Switzerland
Join us on August 15th, 8:00am – 9:00am PT for Azure Office Hours as our Microsoft SMEs walk you through the new Azure Nonprofit Data Strategy eBook for ITDMs.
Hear the highlights on the new in-depth eBook and gather some tips on how to help nonprofits harness their data to drive nonprofit mission success. Learn how Microsoft Fabric’s integrated analytics platform, combined with a robust data strategy, is key to driving mission success for nonprofits.
REGISTER TODAY
Speakers
Sergio Victorio Queija
Director, Industry, Tech for Social Impact, Microsoft Philanthropies
Christian Bucher
Senior Specialist, Tech for Social Impact, Microsoft CELAI Switzerland Read More
MSN365 Unable to Update “Something Went Wrong” even after two repairs
Hello, I continue to run into a MSN365 account update issue. I have paid for an annual personal MSN 365 account. Two weeks ago the entire MSN 365 subscription updated successfully. Recently when I check for account update, I get an error message for each MSN 365 product.
“Something went wrong …. Go online for additional help……Error Code: 30088-27″
I followed the online link and did a full online repair of MSN 365. Twice but still get the same error message.
I’m still getting an error. What should I do?
To assist with this request to fix:
1. my Microsoft 365 MSO Version id is: 2407 Build 16.0.17830.20056 64-bit
2. I’ve run a full online repair 2 days in a row to no avail
Please advise how to fix this issue. Thank you
Hello, I continue to run into a MSN365 account update issue. I have paid for an annual personal MSN 365 account. Two weeks ago the entire MSN 365 subscription updated successfully. Recently when I check for account update, I get an error message for each MSN 365 product. “Something went wrong …. Go online for additional help……Error Code: 30088-27″I followed the online link and did a full online repair of MSN 365. Twice but still get the same error message. I’m still getting an error. What should I do?To assist with this request to fix:1. my Microsoft 365 MSO Version id is: 2407 Build 16.0.17830.20056 64-bit2. I’ve run a full online repair 2 days in a row to no avail Please advise how to fix this issue. Thank you Read More
Support tip: Turn off Activation Lock in Apple Business Manager or Apple School Manager with Intune
Author: Benjamin Flamm – Product Manager 2 | Microsoft Intune
Activation Lock on Apple devices helps keep the device secure if it falls into the wrong hands and works to prevent unauthorized access to data on devices that are owned by your organization. While Intune has a feature to disable Activation Lock, we wanted to highlight that Apple has also made this functionality available in Apple School Manager (ASM) and Apple Business Manager (ABM), keep reading to learn more!
Allowing Activation Lock using Intune
First, devices need to be enrolled through Automated Device Enrollment, which will enable supervision and generate an Activation Lock bypass code that is stored in the Microsoft Intune admin center under the per-device Hardware blade (Devices > All devices > select a device > Hardware).
Next, you’ll need to allow users to enable Activation Lock on devices by configuring the “Activation Lock Allowed While Supervised” setting to Allowed in the settings catalog under Device configuration > Settings catalog > MDM Options.
As a final step, users need to sign in to the Find My app on their device which will lock the device to their Apple account.
If a user already has Find My enabled when this setting is configured, then the device will be activation locked. If a user never enables Find My then the device will never be activation locked. To verify if Activation Lock is enabled on an iOS or iPadOS device, go to System Settings, select the Apple Account, and then Find My:
To verify if Activation Lock is enabled on a macOS device, go to System Settings, iCloud, Find My Mac:
On macOS, you can also verify the status of Activation Lock on devices by selecting the Apple menu in the menu bar, holding down the option key until the System Information option shows, and clicking System Information.
Once a device is locked to a user’s Apple account, you’ll need their account and password to access the device. This is troublesome and can be unattainable in situations where the user has already left the company. Alternatively, you can use the Activation Lock bypass code, but if the device has been wiped or removed from Intune, this code will no longer be available. The bypass codes would’ve had to be manually copied and saved somewhere else prior.
Disable Activation Lock action using Intune
To address these issues, we introduced the Disable Activation Lock device action in Intune, which allows you to remotely turn off Activation Lock on supervised iOS/iPadOS and macOS devices without needing the previous user’s Apple account and password or the bypass code. You can learn more on how to manage activation lock through Intune by reviewing Disable Activation Lock on Apple devices with Intune.
While this action is helpful, it doesn’t allow you to remotely view the status of Activation Lock on a device and if the device is ready to be repurposed.
Activation Lock management in ABM and ASM
At WWDC24 in June, Apple announced the ability to manage Activation Lock on devices that were enrolled using Automated Device Enrollment and managed in ABM and ASM. Not only does this new functionality let you ‘Turn off activation lock’, but you can also view the status of Activation Lock on devices directly from the AMB/ASM console:
You can learn more about this capability by reviewing Apple’s documentation:
Turn off Activation Lock in Apple Business Manager | Apple Support.
This is a major improvement for managing Activation Lock and we’re so excited to see this available in ABM and ASM. While Activation Lock management is still supported in Intune, we recommended using this new method through ABM and ASM for disabling Activation Lock on devices.
If you have any questions leave a comment below or reach out to us on X @IntuneSuppTeam.
Microsoft Tech Community – Latest Blogs –Read More