Month: June 2024
How do I merge multiple PST files from old computer to new Outlook account?
Hi,
If you have a PST file from the old computer and a PST file from your Outlook account (the current one), then you can simply merge them using the below-mentioned utility and get both your inboxes in a single one.
If you don’t have a PST file for the new Outlook account (2021), then follow the steps below to create a PST file.
Firstly, open Outlook. After that, click on the File option from the top of the left pane.Then, click the Open & Export option and select Import/Export from the options. Now select the Export to a file option and click Next. Then select Outlook data file .pst.Now select the folder or whole Outlook account you want to export in PST. (You must check the Include subfolder option). Now browse the location to save the resultant PST file and click Finish.
And this is how you will get the PST file for your new account.
Now, when you have both PSTs, use the Weeom PST Merge Tool. This utility offers two user-centric options:
Merge PST Files: Merge PST files option is used to merge multiple PST files into one PST along with a single folder hierarchy for all selected PST files, which means it merges items of similar name folders into one folder.
Join PST Files: The join PST files option is used to join two or more PST files into a single PST file along with a separate folder hierarchy for each selected PST file.
The Merge PST File option is for you as it will merge both inboxes as per your requirements. Now, add the new (merged) PST to your Outlook account.
This utility can also directly merge OST files to PST, resulting in a PST file.
Hi, If you have a PST file from the old computer and a PST file from your Outlook account (the current one), then you can simply merge them using the below-mentioned utility and get both your inboxes in a single one. If you don’t have a PST file for the new Outlook account (2021), then follow the steps below to create a PST file. Firstly, open Outlook. After that, click on the File option from the top of the left pane.Then, click the Open & Export option and select Import/Export from the options. Now select the Export to a file option and click Next. Then select Outlook data file .pst.Now select the folder or whole Outlook account you want to export in PST. (You must check the Include subfolder option). Now browse the location to save the resultant PST file and click Finish. And this is how you will get the PST file for your new account. Now, when you have both PSTs, use the Weeom PST Merge Tool. This utility offers two user-centric options: Merge PST Files: Merge PST files option is used to merge multiple PST files into one PST along with a single folder hierarchy for all selected PST files, which means it merges items of similar name folders into one folder. Join PST Files: The join PST files option is used to join two or more PST files into a single PST file along with a separate folder hierarchy for each selected PST file. The Merge PST File option is for you as it will merge both inboxes as per your requirements. Now, add the new (merged) PST to your Outlook account. This utility can also directly merge OST files to PST, resulting in a PST file. Read More
matlab is disconnecting and shows to restart again
matlab continuesly showing that session is experiencing interruptions due to poor internet connection or inactivity and it automatically get restarted.matlab continuesly showing that session is experiencing interruptions due to poor internet connection or inactivity and it automatically get restarted. matlab continuesly showing that session is experiencing interruptions due to poor internet connection or inactivity and it automatically get restarted. showing start new session, experiencing interruption, matlab MATLAB Answers — New Questions
OFDM implementation over rayleigh channel with doppler , matlab(simulink) to hdl
Is there a way to simulate ofdm over a rayleigh channel with doppler , using matlab functions /simulink(blocks), which are compatible with hdl coder , to implement on an fpga?Is there a way to simulate ofdm over a rayleigh channel with doppler , using matlab functions /simulink(blocks), which are compatible with hdl coder , to implement on an fpga? Is there a way to simulate ofdm over a rayleigh channel with doppler , using matlab functions /simulink(blocks), which are compatible with hdl coder , to implement on an fpga? ofdm, rayleigh, doppler, hdl MATLAB Answers — New Questions
Plot a rectangular/square box around a set of random points
Given a random set of points:
x=rand(1,100)*5;
y=rand(1,100)*5;
scatter(x,y,20,’blue’,’filled’)
xlim([-1 6])
ylim([-1 6])
how can I draw a rectangle that wraps that set of points, and such that the following conditions are fulfilled?
(1) the upper edge and the lower edge of the rectangle are placed at the lowest and highest y-coordinates of the set of points, i.e. at
yl = [min(y) max(y)];
(2) the left and the right edges are placed at the leftmost and rightmost x-coordinates of the set of points, i.e.
xl = [min(x) max(x)];
Visually, my desired output would be the following one:Given a random set of points:
x=rand(1,100)*5;
y=rand(1,100)*5;
scatter(x,y,20,’blue’,’filled’)
xlim([-1 6])
ylim([-1 6])
how can I draw a rectangle that wraps that set of points, and such that the following conditions are fulfilled?
(1) the upper edge and the lower edge of the rectangle are placed at the lowest and highest y-coordinates of the set of points, i.e. at
yl = [min(y) max(y)];
(2) the left and the right edges are placed at the leftmost and rightmost x-coordinates of the set of points, i.e.
xl = [min(x) max(x)];
Visually, my desired output would be the following one: Given a random set of points:
x=rand(1,100)*5;
y=rand(1,100)*5;
scatter(x,y,20,’blue’,’filled’)
xlim([-1 6])
ylim([-1 6])
how can I draw a rectangle that wraps that set of points, and such that the following conditions are fulfilled?
(1) the upper edge and the lower edge of the rectangle are placed at the lowest and highest y-coordinates of the set of points, i.e. at
yl = [min(y) max(y)];
(2) the left and the right edges are placed at the leftmost and rightmost x-coordinates of the set of points, i.e.
xl = [min(x) max(x)];
Visually, my desired output would be the following one: rectangle, sqaure, plot, points, wrap MATLAB Answers — New Questions
Book Appointment – MS Bookings Graph API
Hi, I can create appointments using the MS Bookings API, for particular staff/customers and services in my configured booking business.
However I’ve noticed that the API call does not stop double bookings of staff from being created (same start/end, same staff/service etc).
The MS Bookings user interface does seem to detect duplicate bookings (informing the user that they are too late as the staff member is now busy), whether the appointment is occurring at exactly the same points in time, or starts mid-way through an appointment. (I have tested this via multiple browser tabs at the booking page, booking the same appointment in each.) Inspecting the response in the web browser for the bookings UI shows an API response payload with
“error”: “Status(StatusCode=”FailedPrecondition”, Detail=”Staff not available”
Looking at https://learn.microsoft.com/en-us/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0&tabs=http for the documentation of the API I’ve noticed that there is very little in regards non-success responses / error codes / oDataError documentation. In fact nothing at all.
The only way around this I can see is that on booking an appointment you have to first check availability, but even that seems to be subject to a potential race condition – given that often the API call takes a few seconds to create the appointment and respond with the details.
Does anybody know of a better work-around please, or is there some documentation I am missing, seems like a really important part is missing in the book appointment API -namely it should not proceed and should return an appropriate error message/response if the staff member is not available? Or perhaps, this is by design and the app programmer does need to re-check availability ;0
Thanks in advance for any help 🙂
Hi, I can create appointments using the MS Bookings API, for particular staff/customers and services in my configured booking business. However I’ve noticed that the API call does not stop double bookings of staff from being created (same start/end, same staff/service etc). The MS Bookings user interface does seem to detect duplicate bookings (informing the user that they are too late as the staff member is now busy), whether the appointment is occurring at exactly the same points in time, or starts mid-way through an appointment. (I have tested this via multiple browser tabs at the booking page, booking the same appointment in each.) Inspecting the response in the web browser for the bookings UI shows an API response payload with”error”: “Status(StatusCode=”FailedPrecondition”, Detail=”Staff not available” Looking at https://learn.microsoft.com/en-us/graph/api/bookingbusiness-post-appointments?view=graph-rest-1.0&tabs=http for the documentation of the API I’ve noticed that there is very little in regards non-success responses / error codes / oDataError documentation. In fact nothing at all. The only way around this I can see is that on booking an appointment you have to first check availability, but even that seems to be subject to a potential race condition – given that often the API call takes a few seconds to create the appointment and respond with the details. Does anybody know of a better work-around please, or is there some documentation I am missing, seems like a really important part is missing in the book appointment API -namely it should not proceed and should return an appropriate error message/response if the staff member is not available? Or perhaps, this is by design and the app programmer does need to re-check availability ;0 Thanks in advance for any help 🙂 Read More
Azure Search with vector (2024-05-01-preview) strange results varying k parameter value
what is the default value for k if it is not provided ?
when i do a query in the portal this value is not set .. and I get for a specific query a score equal to 0.03205128386616707
if i set k = 1 i get a score of
0.01666666753590107
if i set k = 5 i get a score of
0.01666666753590107
if i set k = 6 or above i get a score of
0.03205128386616707 (same as when k is not provided)
how is that ?
thanks enrico
what is the default value for k if it is not provided ? when i do a query in the portal this value is not set .. and I get for a specific query a score equal to 0.03205128386616707if i set k = 1 i get a score of0.01666666753590107if i set k = 5 i get a score of0.01666666753590107if i set k = 6 or above i get a score of0.03205128386616707 (same as when k is not provided)how is that ? thanks enrico Read More
Configure Apple Messages for Business channel
Hi everyone
I’m trying to setup Apple business message in dynamics 365.
My question is : What parameters to use for work classifications and routes to a queue rule?
I should manage multiple languages, but I cannot create other channels such as livechat that manages one language, so I created a single channel and at the route to queues rules level, I came across the following conditions to insert.
I inserted the customer language condition that if it is equal to a locale (e.g. en-us) then I make the assignment to the English queue.
By selecting related entities in the conditions I saw other types of conditions, what do they refer to?
Which conditions is best to choose to manage multiple languages for the Apple messages channel and what parameters Apple pass to us ?
Thank you!
Hi everyoneI’m trying to setup Apple business message in dynamics 365.My question is : What parameters to use for work classifications and routes to a queue rule? I should manage multiple languages, but I cannot create other channels such as livechat that manages one language, so I created a single channel and at the route to queues rules level, I came across the following conditions to insert.I inserted the customer language condition that if it is equal to a locale (e.g. en-us) then I make the assignment to the English queue. By selecting related entities in the conditions I saw other types of conditions, what do they refer to? Which conditions is best to choose to manage multiple languages for the Apple messages channel and what parameters Apple pass to us ?Thank you! Read More
Missing New Item button on List.
As the title says, I do not have a new button.
All my other lists have them, Im the owner and I cannot see an option to enable in settings?
As the title says, I do not have a new button. All my other lists have them, Im the owner and I cannot see an option to enable in settings? Read More
Streamlining Your Video Editing Workflow with Alight Motion and Microsoft Tools
Streamlining your video editing workflow with Alight Motion and Microsoft tools can revolutionize the way you create and manage video content. Alight Motion is a versatile app offering powerful features for motion graphics, visual effects, and video compositing, with a user-friendly interface suitable for both beginners and professionals. Its multi-layer support, blending modes, color correction, and keyframe animation make it a robust tool for any project. Integrating Microsoft tools further enhances efficiency and organization: OneDrive ensures seamless file storage and sharing, enabling access and real-time collaboration from anywhere; Excel is invaluable for meticulous project planning, budgeting, and tracking progress; and PowerPoint allows for the creation of impressive presentations to showcase your work to clients or stakeholders. Combining Alight Motion’s creative capabilities with Microsoft’s organizational strength lets you focus on creativity while ensuring technical and administrative details are handled smoothly, boosting productivity and enhancing the overall quality of your video projects.
Streamlining your video editing workflow with Alight Motion and Microsoft tools can revolutionize the way you create and manage video content. Alight Motion is a versatile app offering powerful features for motion graphics, visual effects, and video compositing, with a user-friendly interface suitable for both beginners and professionals. Its multi-layer support, blending modes, color correction, and keyframe animation make it a robust tool for any project. Integrating Microsoft tools further enhances efficiency and organization: OneDrive ensures seamless file storage and sharing, enabling access and real-time collaboration from anywhere; Excel is invaluable for meticulous project planning, budgeting, and tracking progress; and PowerPoint allows for the creation of impressive presentations to showcase your work to clients or stakeholders. Combining Alight Motion’s creative capabilities with Microsoft’s organizational strength lets you focus on creativity while ensuring technical and administrative details are handled smoothly, boosting productivity and enhancing the overall quality of your video projects. Read More
Return a value from a reference based on multiple Columns
Could someone please guide me
I am trying to formulate the data below on a seperate sheet, by looking up the Channel, by Due date and return the value (outstanding Due)
ChannelCustomerSales CategoryInvoice NumbersInvoiced DatesDue Date Outstanding (Due)Distribution Fees – Convenience TotalTotal Pellissier IAC Beverage SalesIAC000369211-Aug30-Sep PdDistribution Fees – Convenience EngenEngen Garage – Spartan IAC Beverage SalesIAC000369615-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 East IAC Beverage SalesIAC000016-Mar30-Mar PdDistribution Fees – Convenience TotalTotal Petroport N3 West IAC Beverage SalesIAC000016-Mar30-Mar PdDistribution Fees – Convenience BP ExpressBP Trompsburg IAC Beverage SalesIAC000000322-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 East IAC Beverage SalesIAC000000428-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 West IAC Beverage SalesIAC000000528-Aug30-Sep Pd
Could someone please guide me I am trying to formulate the data below on a seperate sheet, by looking up the Channel, by Due date and return the value (outstanding Due)ChannelCustomerSales CategoryInvoice NumbersInvoiced DatesDue Date Outstanding (Due)Distribution Fees – Convenience TotalTotal Pellissier IAC Beverage SalesIAC000369211-Aug30-Sep PdDistribution Fees – Convenience EngenEngen Garage – Spartan IAC Beverage SalesIAC000369615-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 East IAC Beverage SalesIAC000016-Mar30-Mar PdDistribution Fees – Convenience TotalTotal Petroport N3 West IAC Beverage SalesIAC000016-Mar30-Mar PdDistribution Fees – Convenience BP ExpressBP Trompsburg IAC Beverage SalesIAC000000322-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 East IAC Beverage SalesIAC000000428-Aug30-Sep PdDistribution Fees – Convenience TotalTotal Petroport N3 West IAC Beverage SalesIAC000000528-Aug30-Sep Pd Read More
allow pre-filled forms to properly dictate Form state
Since recently, it’s possible to get a “pre-filled URL” for a form, where some answers are pre-filled using a get parameter.
However, this does not override values from a previously filled form, if that form as not submitted. For example, if the user has a form half-filled and unsubmitted this state is stored in the browser; and if a link is to pre-filled form is used, only the fields that were empty in the browser state are filled in!
There may be a usecase for this, but it would be valuable to allow a pre-filled link in such a way that it fully initializes the state of the form.
Additionally, it would be great to hide certain pre-filled fields from user input.
Is this possible to do somehow? If not, I hope it’ll be implemented.
Since recently, it’s possible to get a “pre-filled URL” for a form, where some answers are pre-filled using a get parameter. However, this does not override values from a previously filled form, if that form as not submitted. For example, if the user has a form half-filled and unsubmitted this state is stored in the browser; and if a link is to pre-filled form is used, only the fields that were empty in the browser state are filled in! There may be a usecase for this, but it would be valuable to allow a pre-filled link in such a way that it fully initializes the state of the form. Additionally, it would be great to hide certain pre-filled fields from user input. Is this possible to do somehow? If not, I hope it’ll be implemented. Read More
Adding co-organizer issue
Hi
Am hoping someone can help me as I’m going round and round in circles.
I have 2 accounts in my outlook that are my bosses companies. The first one works fine – I set up Teams meetings – make him co-organizer – no issue.
The second one I make meetings, it adds him but says it can’t see his calendar (not sure if that is relevant) and when I try to make him co-organizer there is no one in the drop down list – despite a list of attendees. If I go to the “who can present” box and say Specific People – he’s in that drop down list.
So why isn’t he (or other attendees) in the co-org list?
Thanks!
HiAm hoping someone can help me as I’m going round and round in circles.I have 2 accounts in my outlook that are my bosses companies. The first one works fine – I set up Teams meetings – make him co-organizer – no issue.The second one I make meetings, it adds him but says it can’t see his calendar (not sure if that is relevant) and when I try to make him co-organizer there is no one in the drop down list – despite a list of attendees. If I go to the “who can present” box and say Specific People – he’s in that drop down list. So why isn’t he (or other attendees) in the co-org list?Thanks! Read More
Vlookup and copy from one sheet to other sheet the value is right aligned
In this the file the serial no is aligned right and the lookup is not working properly
please guide us why this is happened
In this the file the serial no is aligned right and the lookup is not working properly please guide us why this is happened Read More
Can’t retrieve value from previous time step.
I am doing a energy storage and transport project in simulink in matlab. It is formed by a file which contains constant variables and an interactive model that attempts to simulate the flow of energy of this sytem, this is possible because inside of this model formulas and calculations can be implemented. The system consist of 5 blocks. Transport to supply, injection, storage, extraction, transport to demand, inside of each block you add the different formulas/calculations. The system also accounts for power losses. I am stuck in the storage subsystem.
I have a function block that simulates the storage. I have as inputs some constants and the variable power supply from a data file. I have as outputs the energy lossses and the energy storage. My type of storage is a water thermal battery (very simple). I have time step of 5mins, which means that there is a point every 5 mins, in the data file time there is data for 525600 minutes (one year). Every time step energy is added tothe storage, raising the temperature, the thing is in my code i can only take into account the enegy of the storage at that time step. I would like to retrieve the temperature of the previous step and add it to the new one, like this i will have the energy being stored in the system, but i dont know how to do this.
function [DStorage, EdotStorage]= Storage(PtoStorage, PfromStorage, kWater,TEnv, tankheight, tankradius, mwateronetank,cWater, ITank)
PreviousT = 0; %This should retrieve me the temperature of the tank in the previous time step, or the output from the previous step is even fine (from here I can calculate the temperature rise, make it a variabe and add it ot "Atank")
ATank= 2*pi*tankradius*(tankradius+tankheight); %Area of the tank
Ttank= TEnv + ((PtoStorage/125)/((mwateronetank)*cWater)) + PreviousT ; %Actual temperature of each tank
Dofonetank = ((kWater* ATank * ((Ttank-TEnv))/ITank)); %Power loss due to conduction in one tank
DStorage= Dofonetank*125; %Power loss due to conduction in all tanks
EdotStorage = PtoStorage – PfromStorage – DStorage; %Amount of energy in the storageI am doing a energy storage and transport project in simulink in matlab. It is formed by a file which contains constant variables and an interactive model that attempts to simulate the flow of energy of this sytem, this is possible because inside of this model formulas and calculations can be implemented. The system consist of 5 blocks. Transport to supply, injection, storage, extraction, transport to demand, inside of each block you add the different formulas/calculations. The system also accounts for power losses. I am stuck in the storage subsystem.
I have a function block that simulates the storage. I have as inputs some constants and the variable power supply from a data file. I have as outputs the energy lossses and the energy storage. My type of storage is a water thermal battery (very simple). I have time step of 5mins, which means that there is a point every 5 mins, in the data file time there is data for 525600 minutes (one year). Every time step energy is added tothe storage, raising the temperature, the thing is in my code i can only take into account the enegy of the storage at that time step. I would like to retrieve the temperature of the previous step and add it to the new one, like this i will have the energy being stored in the system, but i dont know how to do this.
function [DStorage, EdotStorage]= Storage(PtoStorage, PfromStorage, kWater,TEnv, tankheight, tankradius, mwateronetank,cWater, ITank)
PreviousT = 0; %This should retrieve me the temperature of the tank in the previous time step, or the output from the previous step is even fine (from here I can calculate the temperature rise, make it a variabe and add it ot "Atank")
ATank= 2*pi*tankradius*(tankradius+tankheight); %Area of the tank
Ttank= TEnv + ((PtoStorage/125)/((mwateronetank)*cWater)) + PreviousT ; %Actual temperature of each tank
Dofonetank = ((kWater* ATank * ((Ttank-TEnv))/ITank)); %Power loss due to conduction in one tank
DStorage= Dofonetank*125; %Power loss due to conduction in all tanks
EdotStorage = PtoStorage – PfromStorage – DStorage; %Amount of energy in the storage I am doing a energy storage and transport project in simulink in matlab. It is formed by a file which contains constant variables and an interactive model that attempts to simulate the flow of energy of this sytem, this is possible because inside of this model formulas and calculations can be implemented. The system consist of 5 blocks. Transport to supply, injection, storage, extraction, transport to demand, inside of each block you add the different formulas/calculations. The system also accounts for power losses. I am stuck in the storage subsystem.
I have a function block that simulates the storage. I have as inputs some constants and the variable power supply from a data file. I have as outputs the energy lossses and the energy storage. My type of storage is a water thermal battery (very simple). I have time step of 5mins, which means that there is a point every 5 mins, in the data file time there is data for 525600 minutes (one year). Every time step energy is added tothe storage, raising the temperature, the thing is in my code i can only take into account the enegy of the storage at that time step. I would like to retrieve the temperature of the previous step and add it to the new one, like this i will have the energy being stored in the system, but i dont know how to do this.
function [DStorage, EdotStorage]= Storage(PtoStorage, PfromStorage, kWater,TEnv, tankheight, tankradius, mwateronetank,cWater, ITank)
PreviousT = 0; %This should retrieve me the temperature of the tank in the previous time step, or the output from the previous step is even fine (from here I can calculate the temperature rise, make it a variabe and add it ot "Atank")
ATank= 2*pi*tankradius*(tankradius+tankheight); %Area of the tank
Ttank= TEnv + ((PtoStorage/125)/((mwateronetank)*cWater)) + PreviousT ; %Actual temperature of each tank
Dofonetank = ((kWater* ATank * ((Ttank-TEnv))/ITank)); %Power loss due to conduction in one tank
DStorage= Dofonetank*125; %Power loss due to conduction in all tanks
EdotStorage = PtoStorage – PfromStorage – DStorage; %Amount of energy in the storage storage, tank, water, energy, temperature MATLAB Answers — New Questions
Cannot solve algebraic loop involving
Cannot solve algebraic loop involving ‘Simulation_vehicle/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Simulation_vehicle’ are involved in the loop.
How to fix this error ?Cannot solve algebraic loop involving ‘Simulation_vehicle/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Simulation_vehicle’ are involved in the loop.
How to fix this error ? Cannot solve algebraic loop involving ‘Simulation_vehicle/Equation1_ddgama1/MATLAB Function5’ because it consists of blocks that cannot be assigned algebraic variables, such as blocks with discrete-valued outputs, blocks with non-double or complex outputs, Stateflow blocks, or nonvirtual subsystems. Consider breaking the algebraic loop. For example, add a delay or a memory block to the loop. To see more details about the loops use the command Simulink.BlockDiagram.getAlgebraicLoops(bdroot)
Component:Simulink | Category:Model error
Input ports (23) of ‘Simulation_vehicle’ are involved in the loop.
How to fix this error ? cannot solve algebraic loop involving MATLAB Answers — New Questions
角速度のデータに対してFFTし、信号の周波数スペクトルを解析、ノイズの周波数範囲を特定、カットオフ周波数の決定をしたい。このコードが合っているか、またコードの追加・改善。
% Load the data
data = xlsread(‘ho130Gyrox.xlsx’);
% FFT of data
N = length(data); % Length of data
Fs = 2000; % Sampling frequency
Y = fft(data); % FFT
Y_abs = abs(Y);
frequencies = (0:N-1)*(Fs/N)/1000; % Frequency axis
% Plot
figure;
plot(frequencies(1:N/2), Y_abs(1:N/2));
xlabel(‘Frequency (kHz)’);
ylabel(‘Power(dB)’);
title(‘Data Frequency Spectrum’);% Load the data
data = xlsread(‘ho130Gyrox.xlsx’);
% FFT of data
N = length(data); % Length of data
Fs = 2000; % Sampling frequency
Y = fft(data); % FFT
Y_abs = abs(Y);
frequencies = (0:N-1)*(Fs/N)/1000; % Frequency axis
% Plot
figure;
plot(frequencies(1:N/2), Y_abs(1:N/2));
xlabel(‘Frequency (kHz)’);
ylabel(‘Power(dB)’);
title(‘Data Frequency Spectrum’); % Load the data
data = xlsread(‘ho130Gyrox.xlsx’);
% FFT of data
N = length(data); % Length of data
Fs = 2000; % Sampling frequency
Y = fft(data); % FFT
Y_abs = abs(Y);
frequencies = (0:N-1)*(Fs/N)/1000; % Frequency axis
% Plot
figure;
plot(frequencies(1:N/2), Y_abs(1:N/2));
xlabel(‘Frequency (kHz)’);
ylabel(‘Power(dB)’);
title(‘Data Frequency Spectrum’); #fft, #フーリエ変換, #データ, #分析, カットオフ周波数 MATLAB Answers — New Questions
Frequency response of a system operating at a fixed frequency
I am trying to simulate the behavior of a system in simulink. I am providing a sinusoidal input with a fixed frequency (e.g. 0.3 Hz) and I am exporting the results in matlab. I want to verify that at this operating frequency, the frequency response is flat. Once done that I’ll increase the frequency and so on untill I reach a decrease in the frequency response of -3dB.
However I am facing dissiculties in evaluating this.
I tried doing something like this:
Y_measured = fft(measured);
Y_target = fft(target);
Y = Y_measured./Y_target;
amplitude = abs(Y);
phase = unwrap(angle(Y(1:N/2+1)));
I then plotted the amplitude and the phase over time.
The fact is that being the system evaluated at a fixed frequency, the frequency response diagram loses a lot of significance and I become only intrested in what would be a specific point of the diagram (I guess?).
So in conclusion:
Is this a correct way of evaluating the frequency response of my system?
What would be an efficien way of plotting and showing the results?
Thank you.I am trying to simulate the behavior of a system in simulink. I am providing a sinusoidal input with a fixed frequency (e.g. 0.3 Hz) and I am exporting the results in matlab. I want to verify that at this operating frequency, the frequency response is flat. Once done that I’ll increase the frequency and so on untill I reach a decrease in the frequency response of -3dB.
However I am facing dissiculties in evaluating this.
I tried doing something like this:
Y_measured = fft(measured);
Y_target = fft(target);
Y = Y_measured./Y_target;
amplitude = abs(Y);
phase = unwrap(angle(Y(1:N/2+1)));
I then plotted the amplitude and the phase over time.
The fact is that being the system evaluated at a fixed frequency, the frequency response diagram loses a lot of significance and I become only intrested in what would be a specific point of the diagram (I guess?).
So in conclusion:
Is this a correct way of evaluating the frequency response of my system?
What would be an efficien way of plotting and showing the results?
Thank you. I am trying to simulate the behavior of a system in simulink. I am providing a sinusoidal input with a fixed frequency (e.g. 0.3 Hz) and I am exporting the results in matlab. I want to verify that at this operating frequency, the frequency response is flat. Once done that I’ll increase the frequency and so on untill I reach a decrease in the frequency response of -3dB.
However I am facing dissiculties in evaluating this.
I tried doing something like this:
Y_measured = fft(measured);
Y_target = fft(target);
Y = Y_measured./Y_target;
amplitude = abs(Y);
phase = unwrap(angle(Y(1:N/2+1)));
I then plotted the amplitude and the phase over time.
The fact is that being the system evaluated at a fixed frequency, the frequency response diagram loses a lot of significance and I become only intrested in what would be a specific point of the diagram (I guess?).
So in conclusion:
Is this a correct way of evaluating the frequency response of my system?
What would be an efficien way of plotting and showing the results?
Thank you. frequency, amplitude MATLAB Answers — New Questions
USING LSTM TO CLASSIFY DATA
Please see my code below
% Step 1: Load the data from the Excel file
data = readmatrix(‘LSTMdataIn.xlsx’);
% Step 2: Create labels
labels = [ones(200, 1); 2*ones(200, 1); 3*ones(200, 1); 4*ones(200, 1); 5*ones(200, 1)];
% Step 3: Reshape the data
numTimeSteps = 100;
numFeatures = 1;
reshapedData = reshape(data’, numFeatures, numTimeSteps, []);
% Step 4: Split the data into training and testing sets
cv = cvpartition(labels, ‘HoldOut’, 0.2);
trainIdx = training(cv);
testIdx = test(cv);
XTrain = reshapedData(:, :, trainIdx);
YTrain = labels(trainIdx);
XTest = reshapedData(:, :, testIdx);
YTest = labels(testIdx);
% Step 5: Create and train the LSTM network
numHiddenUnits = 100;
layers = [ …
sequenceInputLayer(100)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(5)
softmaxLayer
classificationLayer];
options = trainingOptions(‘adam’, ‘MaxEpochs’, 10, ‘MiniBatchSize’, 32);
net = trainNetwork(XTrain, categorical(YTrain), layers, options);
% Step 6: Evaluate the trained network
YTestPred = classify(net, XTest);
accuracy = sum(YTestPred == categorical(YTest)) / numel(YTest);
I get the following error
Error using trainNetwork (line 191)
The training sequences are of feature dimension 1 100 but the input layer expects sequences of feature dimension 100.Please see my code below
% Step 1: Load the data from the Excel file
data = readmatrix(‘LSTMdataIn.xlsx’);
% Step 2: Create labels
labels = [ones(200, 1); 2*ones(200, 1); 3*ones(200, 1); 4*ones(200, 1); 5*ones(200, 1)];
% Step 3: Reshape the data
numTimeSteps = 100;
numFeatures = 1;
reshapedData = reshape(data’, numFeatures, numTimeSteps, []);
% Step 4: Split the data into training and testing sets
cv = cvpartition(labels, ‘HoldOut’, 0.2);
trainIdx = training(cv);
testIdx = test(cv);
XTrain = reshapedData(:, :, trainIdx);
YTrain = labels(trainIdx);
XTest = reshapedData(:, :, testIdx);
YTest = labels(testIdx);
% Step 5: Create and train the LSTM network
numHiddenUnits = 100;
layers = [ …
sequenceInputLayer(100)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(5)
softmaxLayer
classificationLayer];
options = trainingOptions(‘adam’, ‘MaxEpochs’, 10, ‘MiniBatchSize’, 32);
net = trainNetwork(XTrain, categorical(YTrain), layers, options);
% Step 6: Evaluate the trained network
YTestPred = classify(net, XTest);
accuracy = sum(YTestPred == categorical(YTest)) / numel(YTest);
I get the following error
Error using trainNetwork (line 191)
The training sequences are of feature dimension 1 100 but the input layer expects sequences of feature dimension 100. Please see my code below
% Step 1: Load the data from the Excel file
data = readmatrix(‘LSTMdataIn.xlsx’);
% Step 2: Create labels
labels = [ones(200, 1); 2*ones(200, 1); 3*ones(200, 1); 4*ones(200, 1); 5*ones(200, 1)];
% Step 3: Reshape the data
numTimeSteps = 100;
numFeatures = 1;
reshapedData = reshape(data’, numFeatures, numTimeSteps, []);
% Step 4: Split the data into training and testing sets
cv = cvpartition(labels, ‘HoldOut’, 0.2);
trainIdx = training(cv);
testIdx = test(cv);
XTrain = reshapedData(:, :, trainIdx);
YTrain = labels(trainIdx);
XTest = reshapedData(:, :, testIdx);
YTest = labels(testIdx);
% Step 5: Create and train the LSTM network
numHiddenUnits = 100;
layers = [ …
sequenceInputLayer(100)
lstmLayer(numHiddenUnits)
fullyConnectedLayer(5)
softmaxLayer
classificationLayer];
options = trainingOptions(‘adam’, ‘MaxEpochs’, 10, ‘MiniBatchSize’, 32);
net = trainNetwork(XTrain, categorical(YTrain), layers, options);
% Step 6: Evaluate the trained network
YTestPred = classify(net, XTest);
accuracy = sum(YTestPred == categorical(YTest)) / numel(YTest);
I get the following error
Error using trainNetwork (line 191)
The training sequences are of feature dimension 1 100 but the input layer expects sequences of feature dimension 100. lstm MATLAB Answers — New Questions
Allow Multiple Users to Complete Tasks in Microsoft Planner
Hello everyone,
I need assistance with an issue we’re experiencing in Microsoft Planner. We use Planner for our team management and have noticed that while tasks can be assigned to multiple users, only one person can mark the task as completed.
In our workflow, there are several use cases where it’s essential for each assigned user to individually mark the task as completed. It would be very helpful if there was a way for each assigned person to mark the task as done separately.
Is there a way to enable this feature in Planner, or perhaps a workaround to achieve this scenario? I would greatly appreciate any suggestions or solutions you might have.
Thank you in advance for your help!
Best regards,
LordHelix
Hello everyone, I need assistance with an issue we’re experiencing in Microsoft Planner. We use Planner for our team management and have noticed that while tasks can be assigned to multiple users, only one person can mark the task as completed. In our workflow, there are several use cases where it’s essential for each assigned user to individually mark the task as completed. It would be very helpful if there was a way for each assigned person to mark the task as done separately. Is there a way to enable this feature in Planner, or perhaps a workaround to achieve this scenario? I would greatly appreciate any suggestions or solutions you might have. Thank you in advance for your help! Best regards,LordHelix Read More
June Modern Work & Security Partner Community Call
Thank you for joining us for the June Modern Work & Security Partner Community Call.
For those of you who were unable to attend, you can find the slides attached to this post and the recording will be available on demand within the next week HERE Read More