Category: News
HOW QUICKLY WILL I GET MY GLUCOALERT REVIEWS AFTER THE ORDER HAS BEEN PLACED?
GlucoAlert is all-natural, all organic. You might want to check the ingredients list to know more about what goes into each bottle of GlucoAlert……
Trusted Seller, Fast Shipping, And Easy Returns. Learn More
GlucoAlert Reviews – We’ll ship your order directly to your home or office using a premium carrier such as FedEx or UPS. If you’re in the US or Canada you can expect your order to be shipped within 5 to 7 business days. International orders take 8 – 15 business days (plus customs clearance time).
GlucoAlert is all-natural, all organic. You might want to check the ingredients list to know more about what goes into each bottle of GlucoAlert……Trusted Seller, Fast Shipping, And Easy Returns. Learn MoreGlucoAlert Reviews – We’ll ship your order directly to your home or office using a premium carrier such as FedEx or UPS. If you’re in the US or Canada you can expect your order to be shipped within 5 to 7 business days. International orders take 8 – 15 business days (plus customs clearance time). Read More
backtestStrategy: rebalance function keeps track of past & current open position
Hi All,
backtestStrategy provides a great workflow for defining a strategy, which includes the rebalancing function.
As part of the EngineData object, WeightsHistory can be used to derive open positions, entry price and open pnl. Nonetheless … the same computation takes place also within the backtestEngine’s runBacktest function, which provides access to a Positions table for each strategy.
Hoping not having to re-invent the wheel, is there a way to pass the Positions table into the rebalancing function, for a given strategy? This would be a good fit for an additional field into the engineData structure. ThxHi All,
backtestStrategy provides a great workflow for defining a strategy, which includes the rebalancing function.
As part of the EngineData object, WeightsHistory can be used to derive open positions, entry price and open pnl. Nonetheless … the same computation takes place also within the backtestEngine’s runBacktest function, which provides access to a Positions table for each strategy.
Hoping not having to re-invent the wheel, is there a way to pass the Positions table into the rebalancing function, for a given strategy? This would be a good fit for an additional field into the engineData structure. Thx Hi All,
backtestStrategy provides a great workflow for defining a strategy, which includes the rebalancing function.
As part of the EngineData object, WeightsHistory can be used to derive open positions, entry price and open pnl. Nonetheless … the same computation takes place also within the backtestEngine’s runBacktest function, which provides access to a Positions table for each strategy.
Hoping not having to re-invent the wheel, is there a way to pass the Positions table into the rebalancing function, for a given strategy? This would be a good fit for an additional field into the engineData structure. Thx matlab, portfolio management, finance, rebalancing, backteststrategy, enginedatalist, backtestengine, runbacktest MATLAB Answers — New Questions
Display of values on Y axis
When varying data is displayed on a chart the Y axis displays value lines. If all the data in a given chart window is the same then no Y value is shown. Can this be changed please?When varying data is displayed on a chart the Y axis displays value lines. If all the data in a given chart window is the same then no Y value is shown. Can this be changed please? When varying data is displayed on a chart the Y axis displays value lines. If all the data in a given chart window is the same then no Y value is shown. Can this be changed please? thingspeak MATLAB Answers — New Questions
Decision Branching, modification Script
Modify the script so that the plotting code on lines 4-7 are executed only when doPlot is 1.
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)")Modify the script so that the plotting code on lines 4-7 are executed only when doPlot is 1.
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)") Modify the script so that the plotting code on lines 4-7 are executed only when doPlot is 1.
plot(density)
title("Sample Densities")
xticklabels(element)
ylabel("Density (g/cm^3)") decision MATLAB Answers — New Questions
Plot a vector with a given angle against the y-axis
Hi, so as the title states I want to simply plot a line that will make an angle I already know with the y axis, as this line will be plotted in the same figure as other graphs I want it to also be scaled such that it can be seen in these figures as the order of magnitude changes. I know that the vector will have the slope k = sin(angle)/cos(angle) (as it will always intercept the origin) but how do I plot it so that its range is covered by the whole figure. I have attached a figure that shows an example of what I’m trying to plotHi, so as the title states I want to simply plot a line that will make an angle I already know with the y axis, as this line will be plotted in the same figure as other graphs I want it to also be scaled such that it can be seen in these figures as the order of magnitude changes. I know that the vector will have the slope k = sin(angle)/cos(angle) (as it will always intercept the origin) but how do I plot it so that its range is covered by the whole figure. I have attached a figure that shows an example of what I’m trying to plot Hi, so as the title states I want to simply plot a line that will make an angle I already know with the y axis, as this line will be plotted in the same figure as other graphs I want it to also be scaled such that it can be seen in these figures as the order of magnitude changes. I know that the vector will have the slope k = sin(angle)/cos(angle) (as it will always intercept the origin) but how do I plot it so that its range is covered by the whole figure. I have attached a figure that shows an example of what I’m trying to plot vectors, plotting MATLAB Answers — New Questions
Problem facing with “setup function” in Experiment Manager App
I am trying to hypertune my parameters of a cnn archtecture in Experiment manager in MATLAB 2024a version. It describes that the setup function needs at least 4 arguments (dataset, cnn structure, loss function and the training options). But I am struggling with the setup function whenever I put the loss function what is "crossentropy" in my experiment. I have tried several ways (I have given the screenshots of those attempts).
1.
2.
3.I am trying to hypertune my parameters of a cnn archtecture in Experiment manager in MATLAB 2024a version. It describes that the setup function needs at least 4 arguments (dataset, cnn structure, loss function and the training options). But I am struggling with the setup function whenever I put the loss function what is "crossentropy" in my experiment. I have tried several ways (I have given the screenshots of those attempts).
1.
2.
3. I am trying to hypertune my parameters of a cnn archtecture in Experiment manager in MATLAB 2024a version. It describes that the setup function needs at least 4 arguments (dataset, cnn structure, loss function and the training options). But I am struggling with the setup function whenever I put the loss function what is "crossentropy" in my experiment. I have tried several ways (I have given the screenshots of those attempts).
1.
2.
3. hyperparameter_tuning, experiment manager, setup_function MATLAB Answers — New Questions
I have several questions involving WSL and Docker Desktop
Today I discovered that the SQL Server Developer Edition database I created, is no longer available, because the machine it was on has died. Fortunately, I saved a full backup of the database to my OneDrive, so I should be able to restore it.
A couple months ago I thought I’d give Docker Desktop a try, however because I’ve been developing in Windows for a long time, I wanted to get a Windows container going in Docker Desktop. I ran into problems, then other priorities came long, etc. Bottom line, I’m only now getting back to it.
I’ve tried to determine what version of WSL I have installed, following instructions I found here, but that didn’t work. Instead, I got this error:
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
So, I went to the Microsoft Store and was shown two different WSL 2 versions. Which do I get?
But I’m wondering, do I need to install Ubuntu into a WSL 2 instance? I thought that was installed automatically when I installed Docker Desktop. But I don’t understand why I get the error I do.
Bottom line, I don’t understand how to use WSL 2, Docker Desktop, the Ubuntu distro, etc., because I’m performing searches and getting bits and pieces out of order. I’m lost and very confused. I’d appreciate some direction, please.
Today I discovered that the SQL Server Developer Edition database I created, is no longer available, because the machine it was on has died. Fortunately, I saved a full backup of the database to my OneDrive, so I should be able to restore it. A couple months ago I thought I’d give Docker Desktop a try, however because I’ve been developing in Windows for a long time, I wanted to get a Windows container going in Docker Desktop. I ran into problems, then other priorities came long, etc. Bottom line, I’m only now getting back to it. I’ve tried to determine what version of WSL I have installed, following instructions I found here, but that didn’t work. Instead, I got this error: Windows Subsystem for Linux has no installed distributions.Distributions can be installed by visiting the Microsoft Store:https://aka.ms/wslstore So, I went to the Microsoft Store and was shown two different WSL 2 versions. Which do I get? But I’m wondering, do I need to install Ubuntu into a WSL 2 instance? I thought that was installed automatically when I installed Docker Desktop. But I don’t understand why I get the error I do. Bottom line, I don’t understand how to use WSL 2, Docker Desktop, the Ubuntu distro, etc., because I’m performing searches and getting bits and pieces out of order. I’m lost and very confused. I’d appreciate some direction, please. Read More
Outlook and .heic
I have Outlook with an Outlook.com account on my iPhone as my default email client. When I send pictures in an e-mail, these pictures may be in .heic format.
Please install a viewer for .heic on all Windows versions. Apple devices are now so widespread that it no longer makes sense to ignore the proprietary Apple formats.
Thank you very much.
I have Outlook with an Outlook.com account on my iPhone as my default email client. When I send pictures in an e-mail, these pictures may be in .heic format. Please install a viewer for .heic on all Windows versions. Apple devices are now so widespread that it no longer makes sense to ignore the proprietary Apple formats. Thank you very much. Read More
SSIS from SQL Server to Snowflake not working from sql server agent or DTEXEC
Hi,
We are setting up SSIS package to move data from SQL Server 2022 standard edition to Snowflake (64 bit odbc driver) and it works fine from Visual Studio but getting following error when running from agent or command line:
The component metadata for “ODBC Destination, clsid {C1463F00-2FAF-4AD4-A212-C9D9CCB54575}” could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
Can we use snowflake ODBC destination in the standard edition or what possibly could be the issue.
Regards
–Harvinder
Hi, We are setting up SSIS package to move data from SQL Server 2022 standard edition to Snowflake (64 bit odbc driver) and it works fine from Visual Studio but getting following error when running from agent or command line: The component metadata for “ODBC Destination, clsid {C1463F00-2FAF-4AD4-A212-C9D9CCB54575}” could not be upgraded to the newer version of the component. The PerformUpgrade method failed. Can we use snowflake ODBC destination in the standard edition or what possibly could be the issue. Regards–Harvinder Read More
Preventing copying Copilot responses in protected meetings
With DLP, Purview and Teams Premium it’s possible to prevent meeting chat being copied,but I can’t see anyway to do this with responses generated by Copilot… Anyone got an ideas or solutions for this?
With DLP, Purview and Teams Premium it’s possible to prevent meeting chat being copied,but I can’t see anyway to do this with responses generated by Copilot… Anyone got an ideas or solutions for this? Read More
I want to hide/embed a RGB image inside another RGB image using either Reversible Data Hiding or LSB substitution
while working on my project i want to color transform one image to look like another, I used Reinhard_StainNormalization and i got it.
Next i need to hide one RGB image within another image,i have an idea to use either RDH or LSB substitution,i found answers related to gray image which is not even perfect,so can anybody help me how to achieve this esp. on RGB image not on gray one.For example i need to hide my secret image in specific bits of my target image.help me anyone!!!!!while working on my project i want to color transform one image to look like another, I used Reinhard_StainNormalization and i got it.
Next i need to hide one RGB image within another image,i have an idea to use either RDH or LSB substitution,i found answers related to gray image which is not even perfect,so can anybody help me how to achieve this esp. on RGB image not on gray one.For example i need to hide my secret image in specific bits of my target image.help me anyone!!!!! while working on my project i want to color transform one image to look like another, I used Reinhard_StainNormalization and i got it.
Next i need to hide one RGB image within another image,i have an idea to use either RDH or LSB substitution,i found answers related to gray image which is not even perfect,so can anybody help me how to achieve this esp. on RGB image not on gray one.For example i need to hide my secret image in specific bits of my target image.help me anyone!!!!! steganography, lsb MATLAB Answers — New Questions
Extracting xyzpoints from Point Cloud
I want to extract xyz points data from Point Cloud model.
pointCloud with properties:
Location: [14816040×3 single]
Count: 14816040
XLimits: [-122.5566 183.8412]
YLimits: [-214.3051 106.7991]
ZLimits: [-4.3266 6.3947]
Color: [14816040×3 uint8]
Normal: [14816040×3 single]
Intensity: []
I am using two provided ways but not getting any results.
1st Code
ptCloud = pcread(‘M.ply’);
ptCloud;
xyzPoints = ptCloud.Location;
x = xyzPoints(:,:,1);
y = xyzPoints(:,:,2);
z = xyzPoints(:,:,3);
points3D = [x(:)’; y(:)’, z(:)’];
ERROR
Index in position 3 exceeds array bounds. Index must not exceed 1.
Error in xyzextract (line 8)
y = xyzPoints(:,:,2);
2nd function is
ptCloud;
pts = rosReadXYZ(ptCloud)
ERROR
Error using rosReadXYZ
Expected input to be one of these types:
struct
Instead its type was pointCloud.
Error in rosReadXYZ (line 46)
validateattributes(msg,{‘struct’},{‘scalar’},’rosReadXYZ’);
Error in xyzextract (line 13)
pts = rosReadXYZ(ptCloud,"PreserveStructureOnRead",true);
Kindly advise, I just want to extract xyz points from Point Cloud.I want to extract xyz points data from Point Cloud model.
pointCloud with properties:
Location: [14816040×3 single]
Count: 14816040
XLimits: [-122.5566 183.8412]
YLimits: [-214.3051 106.7991]
ZLimits: [-4.3266 6.3947]
Color: [14816040×3 uint8]
Normal: [14816040×3 single]
Intensity: []
I am using two provided ways but not getting any results.
1st Code
ptCloud = pcread(‘M.ply’);
ptCloud;
xyzPoints = ptCloud.Location;
x = xyzPoints(:,:,1);
y = xyzPoints(:,:,2);
z = xyzPoints(:,:,3);
points3D = [x(:)’; y(:)’, z(:)’];
ERROR
Index in position 3 exceeds array bounds. Index must not exceed 1.
Error in xyzextract (line 8)
y = xyzPoints(:,:,2);
2nd function is
ptCloud;
pts = rosReadXYZ(ptCloud)
ERROR
Error using rosReadXYZ
Expected input to be one of these types:
struct
Instead its type was pointCloud.
Error in rosReadXYZ (line 46)
validateattributes(msg,{‘struct’},{‘scalar’},’rosReadXYZ’);
Error in xyzextract (line 13)
pts = rosReadXYZ(ptCloud,"PreserveStructureOnRead",true);
Kindly advise, I just want to extract xyz points from Point Cloud. I want to extract xyz points data from Point Cloud model.
pointCloud with properties:
Location: [14816040×3 single]
Count: 14816040
XLimits: [-122.5566 183.8412]
YLimits: [-214.3051 106.7991]
ZLimits: [-4.3266 6.3947]
Color: [14816040×3 uint8]
Normal: [14816040×3 single]
Intensity: []
I am using two provided ways but not getting any results.
1st Code
ptCloud = pcread(‘M.ply’);
ptCloud;
xyzPoints = ptCloud.Location;
x = xyzPoints(:,:,1);
y = xyzPoints(:,:,2);
z = xyzPoints(:,:,3);
points3D = [x(:)’; y(:)’, z(:)’];
ERROR
Index in position 3 exceeds array bounds. Index must not exceed 1.
Error in xyzextract (line 8)
y = xyzPoints(:,:,2);
2nd function is
ptCloud;
pts = rosReadXYZ(ptCloud)
ERROR
Error using rosReadXYZ
Expected input to be one of these types:
struct
Instead its type was pointCloud.
Error in rosReadXYZ (line 46)
validateattributes(msg,{‘struct’},{‘scalar’},’rosReadXYZ’);
Error in xyzextract (line 13)
pts = rosReadXYZ(ptCloud,"PreserveStructureOnRead",true);
Kindly advise, I just want to extract xyz points from Point Cloud. point cloud MATLAB Answers — New Questions
Packed bed storage modeling probelm
Hello, I have to make a numerical model of a packed bed storage full of spheres where I have to predict both fluid temperature and solid temperature across the bed length. Its a transient 1D coupled heat transfer problem where I know only the fluid inlet temperature. I am a newbie at matlab and I tried to develop code with the help of chatgpt for charging phase but it doesn’t work. I also have to derive code for storage and discharging phase. Can you kindly help me with it?
rhoS = 2750; % Solid density [kg/m^3]
cpS = 850; % Solid specific heat capacity [J/(kg*K)]
ks = 1.28; % Effective thermal conductivity of solid [W/(m*K)]
epsilon = 0.36; % Void fraction
has = 47223.11473; % Heat transfer coefficient between solid and fluid [W/(m^2*K)]
Uw = 4.5118; % External heat transfer coefficient [W/(m^2*K)]
Tinfinity = 21 + 273.15; % Ambient temperature [K]
TinF = 83 + 273.15; % Inlet fluid temperature [K]
TinS = 21 + 273.15; % Initial solid temperature [K]
L = .14605; % Height of the packed bed [m]
u = 5.94; % Specific HTF mass flow rate [kg/(m^2*s)]
D = 0.1016; % Diameter of the bed [m]
dp = 0.01407; % Particle diameter [m]
rhoF = 1.08; % Fluid density [kg/m^3]
cpF = 1008; % Fluid specific heat [J/(kg*K)]
% Set up computational domain
Nx = 50; % Number of spatial steps
dx = L / Nx; % Spatial step size
dt = 1; % Time step size in seconds
Nt = 720; % Number of time steps
% Initialize temperature profiles
TS = ones(Nx, 1) * TinS; % Initial solid temperature profile
TF = ones(Nx, 1) * TinF; % Initial fluid temperature profile
TF(1) = Tinfinity
% Simulation loop
for n = 1:Nt
TS_new = TS;
TF_new = TF;
for i = 2:Nx-1
% Fluid temperature equation
TF_new(i) = TF(i) + dt * (-u * (TF(i) – TF(i-1)) / dx + (has/(rhoF * cpF * epsilon)) * (TS(i) – TF(i)));
% Solid temperature equation
d2TSdx2 = (TS(i+1) – 2*TS(i) + TS(i-1)) / dx^2;
TS_new(i) = TS(i) + dt * ((ks/(rhoS * cpS * (1 – epsilon))) * d2TSdx2 …
+ (has/(rhoS * cpS * (1 – epsilon))) * (TF(i) – TS(i)) …
+ (Uw * D * pi / (rhoS * cpS * (1 – epsilon))) * (Tinfinity – TS(i)));
end
% Update temperatures
TS = TS_new;
TF = TF_new;
% Apply boundary conditions
TF(1) = TinF; % Constant inlet temperature for fluid
TS(1) = TS(2); % Adiabatic boundary for solid at inlet
TS(Nx) = TS(Nx-1); %Adiabatic boundary for solid at outlet
end
% Plotting the results
x = linspace(0, L, Nx);
plot(x, TS-273.15, ‘r’, x, TF-273.15, ‘b’);
xlabel(‘Bed Length (m)’);
ylabel(‘Temperature (°C)’);
legend(‘Solid Temperature’, ‘Fluid Temperature’);
title(‘Temperature Distribution Along the Bed Length’);
grid on;Hello, I have to make a numerical model of a packed bed storage full of spheres where I have to predict both fluid temperature and solid temperature across the bed length. Its a transient 1D coupled heat transfer problem where I know only the fluid inlet temperature. I am a newbie at matlab and I tried to develop code with the help of chatgpt for charging phase but it doesn’t work. I also have to derive code for storage and discharging phase. Can you kindly help me with it?
rhoS = 2750; % Solid density [kg/m^3]
cpS = 850; % Solid specific heat capacity [J/(kg*K)]
ks = 1.28; % Effective thermal conductivity of solid [W/(m*K)]
epsilon = 0.36; % Void fraction
has = 47223.11473; % Heat transfer coefficient between solid and fluid [W/(m^2*K)]
Uw = 4.5118; % External heat transfer coefficient [W/(m^2*K)]
Tinfinity = 21 + 273.15; % Ambient temperature [K]
TinF = 83 + 273.15; % Inlet fluid temperature [K]
TinS = 21 + 273.15; % Initial solid temperature [K]
L = .14605; % Height of the packed bed [m]
u = 5.94; % Specific HTF mass flow rate [kg/(m^2*s)]
D = 0.1016; % Diameter of the bed [m]
dp = 0.01407; % Particle diameter [m]
rhoF = 1.08; % Fluid density [kg/m^3]
cpF = 1008; % Fluid specific heat [J/(kg*K)]
% Set up computational domain
Nx = 50; % Number of spatial steps
dx = L / Nx; % Spatial step size
dt = 1; % Time step size in seconds
Nt = 720; % Number of time steps
% Initialize temperature profiles
TS = ones(Nx, 1) * TinS; % Initial solid temperature profile
TF = ones(Nx, 1) * TinF; % Initial fluid temperature profile
TF(1) = Tinfinity
% Simulation loop
for n = 1:Nt
TS_new = TS;
TF_new = TF;
for i = 2:Nx-1
% Fluid temperature equation
TF_new(i) = TF(i) + dt * (-u * (TF(i) – TF(i-1)) / dx + (has/(rhoF * cpF * epsilon)) * (TS(i) – TF(i)));
% Solid temperature equation
d2TSdx2 = (TS(i+1) – 2*TS(i) + TS(i-1)) / dx^2;
TS_new(i) = TS(i) + dt * ((ks/(rhoS * cpS * (1 – epsilon))) * d2TSdx2 …
+ (has/(rhoS * cpS * (1 – epsilon))) * (TF(i) – TS(i)) …
+ (Uw * D * pi / (rhoS * cpS * (1 – epsilon))) * (Tinfinity – TS(i)));
end
% Update temperatures
TS = TS_new;
TF = TF_new;
% Apply boundary conditions
TF(1) = TinF; % Constant inlet temperature for fluid
TS(1) = TS(2); % Adiabatic boundary for solid at inlet
TS(Nx) = TS(Nx-1); %Adiabatic boundary for solid at outlet
end
% Plotting the results
x = linspace(0, L, Nx);
plot(x, TS-273.15, ‘r’, x, TF-273.15, ‘b’);
xlabel(‘Bed Length (m)’);
ylabel(‘Temperature (°C)’);
legend(‘Solid Temperature’, ‘Fluid Temperature’);
title(‘Temperature Distribution Along the Bed Length’);
grid on; Hello, I have to make a numerical model of a packed bed storage full of spheres where I have to predict both fluid temperature and solid temperature across the bed length. Its a transient 1D coupled heat transfer problem where I know only the fluid inlet temperature. I am a newbie at matlab and I tried to develop code with the help of chatgpt for charging phase but it doesn’t work. I also have to derive code for storage and discharging phase. Can you kindly help me with it?
rhoS = 2750; % Solid density [kg/m^3]
cpS = 850; % Solid specific heat capacity [J/(kg*K)]
ks = 1.28; % Effective thermal conductivity of solid [W/(m*K)]
epsilon = 0.36; % Void fraction
has = 47223.11473; % Heat transfer coefficient between solid and fluid [W/(m^2*K)]
Uw = 4.5118; % External heat transfer coefficient [W/(m^2*K)]
Tinfinity = 21 + 273.15; % Ambient temperature [K]
TinF = 83 + 273.15; % Inlet fluid temperature [K]
TinS = 21 + 273.15; % Initial solid temperature [K]
L = .14605; % Height of the packed bed [m]
u = 5.94; % Specific HTF mass flow rate [kg/(m^2*s)]
D = 0.1016; % Diameter of the bed [m]
dp = 0.01407; % Particle diameter [m]
rhoF = 1.08; % Fluid density [kg/m^3]
cpF = 1008; % Fluid specific heat [J/(kg*K)]
% Set up computational domain
Nx = 50; % Number of spatial steps
dx = L / Nx; % Spatial step size
dt = 1; % Time step size in seconds
Nt = 720; % Number of time steps
% Initialize temperature profiles
TS = ones(Nx, 1) * TinS; % Initial solid temperature profile
TF = ones(Nx, 1) * TinF; % Initial fluid temperature profile
TF(1) = Tinfinity
% Simulation loop
for n = 1:Nt
TS_new = TS;
TF_new = TF;
for i = 2:Nx-1
% Fluid temperature equation
TF_new(i) = TF(i) + dt * (-u * (TF(i) – TF(i-1)) / dx + (has/(rhoF * cpF * epsilon)) * (TS(i) – TF(i)));
% Solid temperature equation
d2TSdx2 = (TS(i+1) – 2*TS(i) + TS(i-1)) / dx^2;
TS_new(i) = TS(i) + dt * ((ks/(rhoS * cpS * (1 – epsilon))) * d2TSdx2 …
+ (has/(rhoS * cpS * (1 – epsilon))) * (TF(i) – TS(i)) …
+ (Uw * D * pi / (rhoS * cpS * (1 – epsilon))) * (Tinfinity – TS(i)));
end
% Update temperatures
TS = TS_new;
TF = TF_new;
% Apply boundary conditions
TF(1) = TinF; % Constant inlet temperature for fluid
TS(1) = TS(2); % Adiabatic boundary for solid at inlet
TS(Nx) = TS(Nx-1); %Adiabatic boundary for solid at outlet
end
% Plotting the results
x = linspace(0, L, Nx);
plot(x, TS-273.15, ‘r’, x, TF-273.15, ‘b’);
xlabel(‘Bed Length (m)’);
ylabel(‘Temperature (°C)’);
legend(‘Solid Temperature’, ‘Fluid Temperature’);
title(‘Temperature Distribution Along the Bed Length’);
grid on; model, urgent MATLAB Answers — New Questions
Image Steganography using LSB?
I have coded a LSB algorithm for Image Steganography. During retrieval process i’m getting different msg. Can anyone correct this code please!
Embedding code
c = imread(‘image.bmp’);
message = ‘hellokarthick’
message = strtrim(message);
m = length(message) * 8;
AsciiCode = uint8(message);
binaryString = transpose(dec2bin(AsciiCode,8));
binaryString = binaryString(:);
N = length(binaryString);
b = zeros(N,1); %b is a vector of bits
for k = 1:N
if(binaryString(k) == ‘1’)
b(k) = 1;
else
b(k) = 0;
end
end
s = c;
height = size(c,1);
width = size(c,2);
k = 1;
for i = 1 : height
for j = 1 : width
LSB = mod(double(c(i,j)), 2);
if (k>m || LSB == b(k))
s(i,j) = c(i,j);
else
if(LSB == 1)
s(i,j) = c(i,j) – 1;
else
s(i,j) = c(i,j) + 1;
end
k = k + 1;
end
end
end
imwrite(s, ‘hiddenmsgimage.bmp’);
Retriever coding
s = imread(‘hiddenmsgimage.bmp’);
height = size(s,1);
width = size(s,2);
%For this example the max size is 100 bytes, or 800 bits, (bytes * = bits
m = 800;
k = 1;
for i = 1 : height
for j = 1 : width
if (k <= m)
b(k) = mod(double(s(i,j)),2);
k = k + 1;
end
end
end
binaryVector = b;
binValues = [ 128 64 32 16 8 4 2 1 ];
binaryVector = binaryVector(:);
if mod(length(binaryVector),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(binaryVector,8,100);
display(binMatrix);
textString = char(binValues*binMatrix);
disp(textString);I have coded a LSB algorithm for Image Steganography. During retrieval process i’m getting different msg. Can anyone correct this code please!
Embedding code
c = imread(‘image.bmp’);
message = ‘hellokarthick’
message = strtrim(message);
m = length(message) * 8;
AsciiCode = uint8(message);
binaryString = transpose(dec2bin(AsciiCode,8));
binaryString = binaryString(:);
N = length(binaryString);
b = zeros(N,1); %b is a vector of bits
for k = 1:N
if(binaryString(k) == ‘1’)
b(k) = 1;
else
b(k) = 0;
end
end
s = c;
height = size(c,1);
width = size(c,2);
k = 1;
for i = 1 : height
for j = 1 : width
LSB = mod(double(c(i,j)), 2);
if (k>m || LSB == b(k))
s(i,j) = c(i,j);
else
if(LSB == 1)
s(i,j) = c(i,j) – 1;
else
s(i,j) = c(i,j) + 1;
end
k = k + 1;
end
end
end
imwrite(s, ‘hiddenmsgimage.bmp’);
Retriever coding
s = imread(‘hiddenmsgimage.bmp’);
height = size(s,1);
width = size(s,2);
%For this example the max size is 100 bytes, or 800 bits, (bytes * = bits
m = 800;
k = 1;
for i = 1 : height
for j = 1 : width
if (k <= m)
b(k) = mod(double(s(i,j)),2);
k = k + 1;
end
end
end
binaryVector = b;
binValues = [ 128 64 32 16 8 4 2 1 ];
binaryVector = binaryVector(:);
if mod(length(binaryVector),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(binaryVector,8,100);
display(binMatrix);
textString = char(binValues*binMatrix);
disp(textString); I have coded a LSB algorithm for Image Steganography. During retrieval process i’m getting different msg. Can anyone correct this code please!
Embedding code
c = imread(‘image.bmp’);
message = ‘hellokarthick’
message = strtrim(message);
m = length(message) * 8;
AsciiCode = uint8(message);
binaryString = transpose(dec2bin(AsciiCode,8));
binaryString = binaryString(:);
N = length(binaryString);
b = zeros(N,1); %b is a vector of bits
for k = 1:N
if(binaryString(k) == ‘1’)
b(k) = 1;
else
b(k) = 0;
end
end
s = c;
height = size(c,1);
width = size(c,2);
k = 1;
for i = 1 : height
for j = 1 : width
LSB = mod(double(c(i,j)), 2);
if (k>m || LSB == b(k))
s(i,j) = c(i,j);
else
if(LSB == 1)
s(i,j) = c(i,j) – 1;
else
s(i,j) = c(i,j) + 1;
end
k = k + 1;
end
end
end
imwrite(s, ‘hiddenmsgimage.bmp’);
Retriever coding
s = imread(‘hiddenmsgimage.bmp’);
height = size(s,1);
width = size(s,2);
%For this example the max size is 100 bytes, or 800 bits, (bytes * = bits
m = 800;
k = 1;
for i = 1 : height
for j = 1 : width
if (k <= m)
b(k) = mod(double(s(i,j)),2);
k = k + 1;
end
end
end
binaryVector = b;
binValues = [ 128 64 32 16 8 4 2 1 ];
binaryVector = binaryVector(:);
if mod(length(binaryVector),8) ~= 0
error(‘Length of binary vector must be a multiple of 8.’);
end
binMatrix = reshape(binaryVector,8,100);
display(binMatrix);
textString = char(binValues*binMatrix);
disp(textString); steganography, lsb, watermarking MATLAB Answers — New Questions
call function name in the same function
In a function, I need to run this function somewhere within the function like
function fun
i=1
if i>1
function name
end
end
"function name" is just to call "fun", but I need to create a few copy m files of the above scripts with respective changes in the code so that the function name is actually "copy fun" or "copy 2 fun" etc and I wish "function name" to call "copy fun" or "copy 2 fun" etc.In a function, I need to run this function somewhere within the function like
function fun
i=1
if i>1
function name
end
end
"function name" is just to call "fun", but I need to create a few copy m files of the above scripts with respective changes in the code so that the function name is actually "copy fun" or "copy 2 fun" etc and I wish "function name" to call "copy fun" or "copy 2 fun" etc. In a function, I need to run this function somewhere within the function like
function fun
i=1
if i>1
function name
end
end
"function name" is just to call "fun", but I need to create a few copy m files of the above scripts with respective changes in the code so that the function name is actually "copy fun" or "copy 2 fun" etc and I wish "function name" to call "copy fun" or "copy 2 fun" etc. function MATLAB Answers — New Questions
the app I created in MATLAB App designer is not responding, it worked before but now it has stopped responding, even I can’t close the desktop window
I was working on the app in app designer to record audio,add noise, and then filter the noise with suitable filter, for this I also plotted the time domain and frequency domain spectrum of each signal , i also have difficulting in plotting the filtered signal spectrums, like when I added the code to plot the filtered signal , I started encountering the problem, the app in not running.even I can’t close the window! my matlab version is R2018a.
here is my code
classdef app1 < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
RecordButton matlab.ui.control.Button
durationTextAreaLabel matlab.ui.control.Label
durationTextArea matlab.ui.control.TextArea
playButton matlab.ui.control.Button
UIAxes matlab.ui.control.UIAxes
UIAxes2 matlab.ui.control.UIAxes
wanttoaddnoiseCheckBox matlab.ui.control.CheckBox
ButtonGroup matlab.ui.container.ButtonGroup
noiseaddedButton matlab.ui.control.RadioButton
playnoisysignalButton matlab.ui.control.Button
SNRTextAreaLabel matlab.ui.control.Label
SNRTextArea matlab.ui.control.TextArea
UIAxes3 matlab.ui.control.UIAxes
UIAxes4 matlab.ui.control.UIAxes
filterButton matlab.ui.control.Button
UIAxes5 matlab.ui.control.UIAxes
UIAxes6 matlab.ui.control.UIAxes
showfilteredsignalButton matlab.ui.control.Button
end
properties (Access = private)
% Description
SNR % Description
play % Description
filteredData % Description
Property4 % Description
Property5 % Description
end
methods (Access = private)
function results = func(app)
end
end
methods (Access = private)
% Button pushed function: RecordButton
function RecordButtonPushed(app, event)
audioObject= audiorecorder(44100,16,1);
Duration=str2double(app.durationTextArea.Value{1});
msgbox(‘recording start’);
recordblocking(audioObject,Duration);
msgbox(‘recording stopped’);
assignin(‘base’,’audioObject’,audioObject);
end
% Button pushed function: playButton
function playButtonPushed(app, event)
audioObject=evalin(‘base’,’audioObject’);
audioData=getaudiodata(audioObject);
sound(audioData,audioObject.SampleRate);
audiowrite(‘input_audio.wav’,audioData,44100);
% plotting the audio signal in time domain
t=(0:length(audioData)-1)/44100;
plot(app.UIAxes,t,audioData);
%plotting the amplitude spectrum of audio signal
f_InputData = linspace(-44100/2,44100/2,length(audioData));
INPUTDATA = fft(audioData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs( INPUTDATA_f);
plot(app.UIAxes2,f_InputData,INPUTDATA_f_abs);
end
% Value changed function: wanttoaddnoiseCheckBox
function wanttoaddnoiseCheckBoxValueChanged(app, event)
value = app.wanttoaddnoiseCheckBox.Value;
switch value
case 0
app.noiseaddedButton.Visible = ‘off’;
case 1
app.noiseaddedButton.Visible = ‘on’;
end
end
% Button pushed function: playnoisysignalButton
function playnoisysignalButtonPushed(app, event)
audioObject = evalin(‘base’,’audioObject’);
app.SNR= str2double(app.SNRTextArea.Value{1});
noisyData=awgn(getaudiodata(audioObject),app.SNR,’measured’);
switch app.wanttoaddnoiseCheckBox.Value
case 1
if(app.noiseaddedButton.Value)
app.play = audioplayer(noisyData,44100);
playblocking(app.play);
assignin(‘base’,’noisyData’,noisyData);
%plotting the noisy signal in time domain
audiowrite(‘noisy_input_audio.wav’, noisyData, 44100);
t=(0:length(noisyData)-1)/44100;
plot(app.UIAxes3,t,noisyData);
% plotting amplitude density spectrum of noisy signal
f_InputData = linspace(-44100/2,44100/2,length(noisyData));
INPUTDATA=fft(noisyData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs(INPUTDATA_f);
plot(app.UIAxes4,f_InputData,INPUTDATA_f_abs);
end
case 0
msgbox(‘noise not added’)
end
end
% Button pushed function: filterButton
function filterButtonPushed(app, event)
fc = 4000; % Cut-off frequency in Hz
order = 30; % Filter order
% Design the low-pass filter
[b, a] = butter(order, fc/(44100/2), ‘low’);
% Apply the filter to the noisy audio signal
noisyData = evalin(‘base’,’noisyData’);
v_filtered = filter(b, a,noisyData);
% Play the filtered audio
app.filteredData = audioplayer(v_filtered, 44100);
playblocking(app.filteredData);
assignin(‘base’,’v_filtered’,v_filtered);
v_filtered = evalin(‘base’,’v_filtered’);
end
% Button pushed function: showfilteredsignalButton
function showfilteredsignalButtonPushed(app, event)
v_filtered = evalin(‘base’,’v_filtered’);
audiowrite(‘filtered_audio.wav’,v_filtered, 44100);
t_filt= (0:length(app.filteredData)-1)/44100;
plot(app.UIAxes5,t_filt,v_filtered);
end
end
% App initialization and construction
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure
app.UIFigure = uifigure;
app.UIFigure.Position = [100 100 1523 509];
app.UIFigure.Name = ‘UI Figure’;
% Create RecordButton
app.RecordButton = uibutton(app.UIFigure, ‘push’);
app.RecordButton.ButtonPushedFcn = createCallbackFcn(app, @RecordButtonPushed, true);
app.RecordButton.Position = [39 440 100 22];
app.RecordButton.Text = ‘Record’;
% Create durationTextAreaLabel
app.durationTextAreaLabel = uilabel(app.UIFigure);
app.durationTextAreaLabel.HorizontalAlignment = ‘right’;
app.durationTextAreaLabel.Position = [39 406 49 22];
app.durationTextAreaLabel.Text = ‘duration’;
% Create durationTextArea
app.durationTextArea = uitextarea(app.UIFigure);
app.durationTextArea.HorizontalAlignment = ‘right’;
app.durationTextArea.Position = [103 404 139 26];
app.durationTextArea.Value = {’10’};
% Create playButton
app.playButton = uibutton(app.UIFigure, ‘push’);
app.playButton.ButtonPushedFcn = createCallbackFcn(app, @playButtonPushed, true);
app.playButton.Position = [39 361 100 22];
app.playButton.Text = ‘play’;
% Create UIAxes
app.UIAxes = uiaxes(app.UIFigure);
title(app.UIAxes, ‘Input Audio Signal’)
xlabel(app.UIAxes, ‘time’)
ylabel(app.UIAxes, ‘magnitude’)
app.UIAxes.Position = [251 292 444 197];
% Create UIAxes2
app.UIAxes2 = uiaxes(app.UIFigure);
title(app.UIAxes2, ‘Amplitude Density spectrum of Audio Signal’)
xlabel(app.UIAxes2, ‘frequency’)
ylabel(app.UIAxes2, ‘magnitude’)
app.UIAxes2.Position = [255 70 436 207];
% Create wanttoaddnoiseCheckBox
app.wanttoaddnoiseCheckBox = uicheckbox(app.UIFigure);
app.wanttoaddnoiseCheckBox.ValueChangedFcn = createCallbackFcn(app, @wanttoaddnoiseCheckBoxValueChanged, true);
app.wanttoaddnoiseCheckBox.Text = ‘want to add noise?’;
app.wanttoaddnoiseCheckBox.Position = [75 276 123 22];
% Create ButtonGroup
app.ButtonGroup = uibuttongroup(app.UIFigure);
app.ButtonGroup.BorderType = ‘none’;
app.ButtonGroup.Position = [64 227 123 30];
% Create noiseaddedButton
app.noiseaddedButton = uiradiobutton(app.ButtonGroup);
app.noiseaddedButton.Visible = ‘off’;
app.noiseaddedButton.Text = ‘noise added’;
app.noiseaddedButton.Position = [11 4 87 22];
app.noiseaddedButton.Value = true;
% Create playnoisysignalButton
app.playnoisysignalButton = uibutton(app.UIFigure, ‘push’);
app.playnoisysignalButton.ButtonPushedFcn = createCallbackFcn(app, @playnoisysignalButtonPushed, true);
app.playnoisysignalButton.Position = [89 144 104 22];
app.playnoisysignalButton.Text = ‘play noisy signal’;
% Create SNRTextAreaLabel
app.SNRTextAreaLabel = uilabel(app.UIFigure);
app.SNRTextAreaLabel.HorizontalAlignment = ‘right’;
app.SNRTextAreaLabel.Position = [64 185 31 22];
app.SNRTextAreaLabel.Text = ‘SNR’;
% Create SNRTextArea
app.SNRTextArea = uitextarea(app.UIFigure);
app.SNRTextArea.HorizontalAlignment = ‘right’;
app.SNRTextArea.Position = [110 185 77 24];
app.SNRTextArea.Value = {’12’};
% Create UIAxes3
app.UIAxes3 = uiaxes(app.UIFigure);
title(app.UIAxes3, ‘Noisy signal’)
xlabel(app.UIAxes3, ‘time’)
ylabel(app.UIAxes3, ‘magnitude’)
app.UIAxes3.Position = [726 292 414 197];
% Create UIAxes4
app.UIAxes4 = uiaxes(app.UIFigure);
title(app.UIAxes4, ‘Amplitude Density spectrum of Noisy Signal’)
xlabel(app.UIAxes4, ‘frequecny’)
ylabel(app.UIAxes4, ‘magnitude’)
app.UIAxes4.Position = [726 70 414 207];
% Create filterButton
app.filterButton = uibutton(app.UIFigure, ‘push’);
app.filterButton.ButtonPushedFcn = createCallbackFcn(app, @filterButtonPushed, true);
app.filterButton.Position = [103 70 100 22];
app.filterButton.Text = ‘filter’;
% Create UIAxes5
app.UIAxes5 = uiaxes(app.UIFigure);
title(app.UIAxes5, ‘Title’)
xlabel(app.UIAxes5, ‘X’)
ylabel(app.UIAxes5, ‘Y’)
app.UIAxes5.Position = [1170 292 382 197];
% Create UIAxes6
app.UIAxes6 = uiaxes(app.UIFigure);
title(app.UIAxes6, ‘Title’)
xlabel(app.UIAxes6, ‘X’)
ylabel(app.UIAxes6, ‘Y’)
app.UIAxes6.Position = [1170 70 382 207];
% Create showfilteredsignalButton
app.showfilteredsignalButton = uibutton(app.UIFigure, ‘push’);
app.showfilteredsignalButton.ButtonPushedFcn = createCallbackFcn(app, @showfilteredsignalButtonPushed, true);
app.showfilteredsignalButton.Position = [94 32 118 22];
app.showfilteredsignalButton.Text = ‘show filtered signal’;
end
end
methods (Access = public)
% Construct app
function app = app1
% Create and configure components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
endI was working on the app in app designer to record audio,add noise, and then filter the noise with suitable filter, for this I also plotted the time domain and frequency domain spectrum of each signal , i also have difficulting in plotting the filtered signal spectrums, like when I added the code to plot the filtered signal , I started encountering the problem, the app in not running.even I can’t close the window! my matlab version is R2018a.
here is my code
classdef app1 < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
RecordButton matlab.ui.control.Button
durationTextAreaLabel matlab.ui.control.Label
durationTextArea matlab.ui.control.TextArea
playButton matlab.ui.control.Button
UIAxes matlab.ui.control.UIAxes
UIAxes2 matlab.ui.control.UIAxes
wanttoaddnoiseCheckBox matlab.ui.control.CheckBox
ButtonGroup matlab.ui.container.ButtonGroup
noiseaddedButton matlab.ui.control.RadioButton
playnoisysignalButton matlab.ui.control.Button
SNRTextAreaLabel matlab.ui.control.Label
SNRTextArea matlab.ui.control.TextArea
UIAxes3 matlab.ui.control.UIAxes
UIAxes4 matlab.ui.control.UIAxes
filterButton matlab.ui.control.Button
UIAxes5 matlab.ui.control.UIAxes
UIAxes6 matlab.ui.control.UIAxes
showfilteredsignalButton matlab.ui.control.Button
end
properties (Access = private)
% Description
SNR % Description
play % Description
filteredData % Description
Property4 % Description
Property5 % Description
end
methods (Access = private)
function results = func(app)
end
end
methods (Access = private)
% Button pushed function: RecordButton
function RecordButtonPushed(app, event)
audioObject= audiorecorder(44100,16,1);
Duration=str2double(app.durationTextArea.Value{1});
msgbox(‘recording start’);
recordblocking(audioObject,Duration);
msgbox(‘recording stopped’);
assignin(‘base’,’audioObject’,audioObject);
end
% Button pushed function: playButton
function playButtonPushed(app, event)
audioObject=evalin(‘base’,’audioObject’);
audioData=getaudiodata(audioObject);
sound(audioData,audioObject.SampleRate);
audiowrite(‘input_audio.wav’,audioData,44100);
% plotting the audio signal in time domain
t=(0:length(audioData)-1)/44100;
plot(app.UIAxes,t,audioData);
%plotting the amplitude spectrum of audio signal
f_InputData = linspace(-44100/2,44100/2,length(audioData));
INPUTDATA = fft(audioData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs( INPUTDATA_f);
plot(app.UIAxes2,f_InputData,INPUTDATA_f_abs);
end
% Value changed function: wanttoaddnoiseCheckBox
function wanttoaddnoiseCheckBoxValueChanged(app, event)
value = app.wanttoaddnoiseCheckBox.Value;
switch value
case 0
app.noiseaddedButton.Visible = ‘off’;
case 1
app.noiseaddedButton.Visible = ‘on’;
end
end
% Button pushed function: playnoisysignalButton
function playnoisysignalButtonPushed(app, event)
audioObject = evalin(‘base’,’audioObject’);
app.SNR= str2double(app.SNRTextArea.Value{1});
noisyData=awgn(getaudiodata(audioObject),app.SNR,’measured’);
switch app.wanttoaddnoiseCheckBox.Value
case 1
if(app.noiseaddedButton.Value)
app.play = audioplayer(noisyData,44100);
playblocking(app.play);
assignin(‘base’,’noisyData’,noisyData);
%plotting the noisy signal in time domain
audiowrite(‘noisy_input_audio.wav’, noisyData, 44100);
t=(0:length(noisyData)-1)/44100;
plot(app.UIAxes3,t,noisyData);
% plotting amplitude density spectrum of noisy signal
f_InputData = linspace(-44100/2,44100/2,length(noisyData));
INPUTDATA=fft(noisyData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs(INPUTDATA_f);
plot(app.UIAxes4,f_InputData,INPUTDATA_f_abs);
end
case 0
msgbox(‘noise not added’)
end
end
% Button pushed function: filterButton
function filterButtonPushed(app, event)
fc = 4000; % Cut-off frequency in Hz
order = 30; % Filter order
% Design the low-pass filter
[b, a] = butter(order, fc/(44100/2), ‘low’);
% Apply the filter to the noisy audio signal
noisyData = evalin(‘base’,’noisyData’);
v_filtered = filter(b, a,noisyData);
% Play the filtered audio
app.filteredData = audioplayer(v_filtered, 44100);
playblocking(app.filteredData);
assignin(‘base’,’v_filtered’,v_filtered);
v_filtered = evalin(‘base’,’v_filtered’);
end
% Button pushed function: showfilteredsignalButton
function showfilteredsignalButtonPushed(app, event)
v_filtered = evalin(‘base’,’v_filtered’);
audiowrite(‘filtered_audio.wav’,v_filtered, 44100);
t_filt= (0:length(app.filteredData)-1)/44100;
plot(app.UIAxes5,t_filt,v_filtered);
end
end
% App initialization and construction
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure
app.UIFigure = uifigure;
app.UIFigure.Position = [100 100 1523 509];
app.UIFigure.Name = ‘UI Figure’;
% Create RecordButton
app.RecordButton = uibutton(app.UIFigure, ‘push’);
app.RecordButton.ButtonPushedFcn = createCallbackFcn(app, @RecordButtonPushed, true);
app.RecordButton.Position = [39 440 100 22];
app.RecordButton.Text = ‘Record’;
% Create durationTextAreaLabel
app.durationTextAreaLabel = uilabel(app.UIFigure);
app.durationTextAreaLabel.HorizontalAlignment = ‘right’;
app.durationTextAreaLabel.Position = [39 406 49 22];
app.durationTextAreaLabel.Text = ‘duration’;
% Create durationTextArea
app.durationTextArea = uitextarea(app.UIFigure);
app.durationTextArea.HorizontalAlignment = ‘right’;
app.durationTextArea.Position = [103 404 139 26];
app.durationTextArea.Value = {’10’};
% Create playButton
app.playButton = uibutton(app.UIFigure, ‘push’);
app.playButton.ButtonPushedFcn = createCallbackFcn(app, @playButtonPushed, true);
app.playButton.Position = [39 361 100 22];
app.playButton.Text = ‘play’;
% Create UIAxes
app.UIAxes = uiaxes(app.UIFigure);
title(app.UIAxes, ‘Input Audio Signal’)
xlabel(app.UIAxes, ‘time’)
ylabel(app.UIAxes, ‘magnitude’)
app.UIAxes.Position = [251 292 444 197];
% Create UIAxes2
app.UIAxes2 = uiaxes(app.UIFigure);
title(app.UIAxes2, ‘Amplitude Density spectrum of Audio Signal’)
xlabel(app.UIAxes2, ‘frequency’)
ylabel(app.UIAxes2, ‘magnitude’)
app.UIAxes2.Position = [255 70 436 207];
% Create wanttoaddnoiseCheckBox
app.wanttoaddnoiseCheckBox = uicheckbox(app.UIFigure);
app.wanttoaddnoiseCheckBox.ValueChangedFcn = createCallbackFcn(app, @wanttoaddnoiseCheckBoxValueChanged, true);
app.wanttoaddnoiseCheckBox.Text = ‘want to add noise?’;
app.wanttoaddnoiseCheckBox.Position = [75 276 123 22];
% Create ButtonGroup
app.ButtonGroup = uibuttongroup(app.UIFigure);
app.ButtonGroup.BorderType = ‘none’;
app.ButtonGroup.Position = [64 227 123 30];
% Create noiseaddedButton
app.noiseaddedButton = uiradiobutton(app.ButtonGroup);
app.noiseaddedButton.Visible = ‘off’;
app.noiseaddedButton.Text = ‘noise added’;
app.noiseaddedButton.Position = [11 4 87 22];
app.noiseaddedButton.Value = true;
% Create playnoisysignalButton
app.playnoisysignalButton = uibutton(app.UIFigure, ‘push’);
app.playnoisysignalButton.ButtonPushedFcn = createCallbackFcn(app, @playnoisysignalButtonPushed, true);
app.playnoisysignalButton.Position = [89 144 104 22];
app.playnoisysignalButton.Text = ‘play noisy signal’;
% Create SNRTextAreaLabel
app.SNRTextAreaLabel = uilabel(app.UIFigure);
app.SNRTextAreaLabel.HorizontalAlignment = ‘right’;
app.SNRTextAreaLabel.Position = [64 185 31 22];
app.SNRTextAreaLabel.Text = ‘SNR’;
% Create SNRTextArea
app.SNRTextArea = uitextarea(app.UIFigure);
app.SNRTextArea.HorizontalAlignment = ‘right’;
app.SNRTextArea.Position = [110 185 77 24];
app.SNRTextArea.Value = {’12’};
% Create UIAxes3
app.UIAxes3 = uiaxes(app.UIFigure);
title(app.UIAxes3, ‘Noisy signal’)
xlabel(app.UIAxes3, ‘time’)
ylabel(app.UIAxes3, ‘magnitude’)
app.UIAxes3.Position = [726 292 414 197];
% Create UIAxes4
app.UIAxes4 = uiaxes(app.UIFigure);
title(app.UIAxes4, ‘Amplitude Density spectrum of Noisy Signal’)
xlabel(app.UIAxes4, ‘frequecny’)
ylabel(app.UIAxes4, ‘magnitude’)
app.UIAxes4.Position = [726 70 414 207];
% Create filterButton
app.filterButton = uibutton(app.UIFigure, ‘push’);
app.filterButton.ButtonPushedFcn = createCallbackFcn(app, @filterButtonPushed, true);
app.filterButton.Position = [103 70 100 22];
app.filterButton.Text = ‘filter’;
% Create UIAxes5
app.UIAxes5 = uiaxes(app.UIFigure);
title(app.UIAxes5, ‘Title’)
xlabel(app.UIAxes5, ‘X’)
ylabel(app.UIAxes5, ‘Y’)
app.UIAxes5.Position = [1170 292 382 197];
% Create UIAxes6
app.UIAxes6 = uiaxes(app.UIFigure);
title(app.UIAxes6, ‘Title’)
xlabel(app.UIAxes6, ‘X’)
ylabel(app.UIAxes6, ‘Y’)
app.UIAxes6.Position = [1170 70 382 207];
% Create showfilteredsignalButton
app.showfilteredsignalButton = uibutton(app.UIFigure, ‘push’);
app.showfilteredsignalButton.ButtonPushedFcn = createCallbackFcn(app, @showfilteredsignalButtonPushed, true);
app.showfilteredsignalButton.Position = [94 32 118 22];
app.showfilteredsignalButton.Text = ‘show filtered signal’;
end
end
methods (Access = public)
% Construct app
function app = app1
% Create and configure components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
end I was working on the app in app designer to record audio,add noise, and then filter the noise with suitable filter, for this I also plotted the time domain and frequency domain spectrum of each signal , i also have difficulting in plotting the filtered signal spectrums, like when I added the code to plot the filtered signal , I started encountering the problem, the app in not running.even I can’t close the window! my matlab version is R2018a.
here is my code
classdef app1 < matlab.apps.AppBase
% Properties that correspond to app components
properties (Access = public)
UIFigure matlab.ui.Figure
RecordButton matlab.ui.control.Button
durationTextAreaLabel matlab.ui.control.Label
durationTextArea matlab.ui.control.TextArea
playButton matlab.ui.control.Button
UIAxes matlab.ui.control.UIAxes
UIAxes2 matlab.ui.control.UIAxes
wanttoaddnoiseCheckBox matlab.ui.control.CheckBox
ButtonGroup matlab.ui.container.ButtonGroup
noiseaddedButton matlab.ui.control.RadioButton
playnoisysignalButton matlab.ui.control.Button
SNRTextAreaLabel matlab.ui.control.Label
SNRTextArea matlab.ui.control.TextArea
UIAxes3 matlab.ui.control.UIAxes
UIAxes4 matlab.ui.control.UIAxes
filterButton matlab.ui.control.Button
UIAxes5 matlab.ui.control.UIAxes
UIAxes6 matlab.ui.control.UIAxes
showfilteredsignalButton matlab.ui.control.Button
end
properties (Access = private)
% Description
SNR % Description
play % Description
filteredData % Description
Property4 % Description
Property5 % Description
end
methods (Access = private)
function results = func(app)
end
end
methods (Access = private)
% Button pushed function: RecordButton
function RecordButtonPushed(app, event)
audioObject= audiorecorder(44100,16,1);
Duration=str2double(app.durationTextArea.Value{1});
msgbox(‘recording start’);
recordblocking(audioObject,Duration);
msgbox(‘recording stopped’);
assignin(‘base’,’audioObject’,audioObject);
end
% Button pushed function: playButton
function playButtonPushed(app, event)
audioObject=evalin(‘base’,’audioObject’);
audioData=getaudiodata(audioObject);
sound(audioData,audioObject.SampleRate);
audiowrite(‘input_audio.wav’,audioData,44100);
% plotting the audio signal in time domain
t=(0:length(audioData)-1)/44100;
plot(app.UIAxes,t,audioData);
%plotting the amplitude spectrum of audio signal
f_InputData = linspace(-44100/2,44100/2,length(audioData));
INPUTDATA = fft(audioData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs( INPUTDATA_f);
plot(app.UIAxes2,f_InputData,INPUTDATA_f_abs);
end
% Value changed function: wanttoaddnoiseCheckBox
function wanttoaddnoiseCheckBoxValueChanged(app, event)
value = app.wanttoaddnoiseCheckBox.Value;
switch value
case 0
app.noiseaddedButton.Visible = ‘off’;
case 1
app.noiseaddedButton.Visible = ‘on’;
end
end
% Button pushed function: playnoisysignalButton
function playnoisysignalButtonPushed(app, event)
audioObject = evalin(‘base’,’audioObject’);
app.SNR= str2double(app.SNRTextArea.Value{1});
noisyData=awgn(getaudiodata(audioObject),app.SNR,’measured’);
switch app.wanttoaddnoiseCheckBox.Value
case 1
if(app.noiseaddedButton.Value)
app.play = audioplayer(noisyData,44100);
playblocking(app.play);
assignin(‘base’,’noisyData’,noisyData);
%plotting the noisy signal in time domain
audiowrite(‘noisy_input_audio.wav’, noisyData, 44100);
t=(0:length(noisyData)-1)/44100;
plot(app.UIAxes3,t,noisyData);
% plotting amplitude density spectrum of noisy signal
f_InputData = linspace(-44100/2,44100/2,length(noisyData));
INPUTDATA=fft(noisyData);
INPUTDATA_f = fftshift(INPUTDATA);
INPUTDATA_f_abs = abs(INPUTDATA_f);
plot(app.UIAxes4,f_InputData,INPUTDATA_f_abs);
end
case 0
msgbox(‘noise not added’)
end
end
% Button pushed function: filterButton
function filterButtonPushed(app, event)
fc = 4000; % Cut-off frequency in Hz
order = 30; % Filter order
% Design the low-pass filter
[b, a] = butter(order, fc/(44100/2), ‘low’);
% Apply the filter to the noisy audio signal
noisyData = evalin(‘base’,’noisyData’);
v_filtered = filter(b, a,noisyData);
% Play the filtered audio
app.filteredData = audioplayer(v_filtered, 44100);
playblocking(app.filteredData);
assignin(‘base’,’v_filtered’,v_filtered);
v_filtered = evalin(‘base’,’v_filtered’);
end
% Button pushed function: showfilteredsignalButton
function showfilteredsignalButtonPushed(app, event)
v_filtered = evalin(‘base’,’v_filtered’);
audiowrite(‘filtered_audio.wav’,v_filtered, 44100);
t_filt= (0:length(app.filteredData)-1)/44100;
plot(app.UIAxes5,t_filt,v_filtered);
end
end
% App initialization and construction
methods (Access = private)
% Create UIFigure and components
function createComponents(app)
% Create UIFigure
app.UIFigure = uifigure;
app.UIFigure.Position = [100 100 1523 509];
app.UIFigure.Name = ‘UI Figure’;
% Create RecordButton
app.RecordButton = uibutton(app.UIFigure, ‘push’);
app.RecordButton.ButtonPushedFcn = createCallbackFcn(app, @RecordButtonPushed, true);
app.RecordButton.Position = [39 440 100 22];
app.RecordButton.Text = ‘Record’;
% Create durationTextAreaLabel
app.durationTextAreaLabel = uilabel(app.UIFigure);
app.durationTextAreaLabel.HorizontalAlignment = ‘right’;
app.durationTextAreaLabel.Position = [39 406 49 22];
app.durationTextAreaLabel.Text = ‘duration’;
% Create durationTextArea
app.durationTextArea = uitextarea(app.UIFigure);
app.durationTextArea.HorizontalAlignment = ‘right’;
app.durationTextArea.Position = [103 404 139 26];
app.durationTextArea.Value = {’10’};
% Create playButton
app.playButton = uibutton(app.UIFigure, ‘push’);
app.playButton.ButtonPushedFcn = createCallbackFcn(app, @playButtonPushed, true);
app.playButton.Position = [39 361 100 22];
app.playButton.Text = ‘play’;
% Create UIAxes
app.UIAxes = uiaxes(app.UIFigure);
title(app.UIAxes, ‘Input Audio Signal’)
xlabel(app.UIAxes, ‘time’)
ylabel(app.UIAxes, ‘magnitude’)
app.UIAxes.Position = [251 292 444 197];
% Create UIAxes2
app.UIAxes2 = uiaxes(app.UIFigure);
title(app.UIAxes2, ‘Amplitude Density spectrum of Audio Signal’)
xlabel(app.UIAxes2, ‘frequency’)
ylabel(app.UIAxes2, ‘magnitude’)
app.UIAxes2.Position = [255 70 436 207];
% Create wanttoaddnoiseCheckBox
app.wanttoaddnoiseCheckBox = uicheckbox(app.UIFigure);
app.wanttoaddnoiseCheckBox.ValueChangedFcn = createCallbackFcn(app, @wanttoaddnoiseCheckBoxValueChanged, true);
app.wanttoaddnoiseCheckBox.Text = ‘want to add noise?’;
app.wanttoaddnoiseCheckBox.Position = [75 276 123 22];
% Create ButtonGroup
app.ButtonGroup = uibuttongroup(app.UIFigure);
app.ButtonGroup.BorderType = ‘none’;
app.ButtonGroup.Position = [64 227 123 30];
% Create noiseaddedButton
app.noiseaddedButton = uiradiobutton(app.ButtonGroup);
app.noiseaddedButton.Visible = ‘off’;
app.noiseaddedButton.Text = ‘noise added’;
app.noiseaddedButton.Position = [11 4 87 22];
app.noiseaddedButton.Value = true;
% Create playnoisysignalButton
app.playnoisysignalButton = uibutton(app.UIFigure, ‘push’);
app.playnoisysignalButton.ButtonPushedFcn = createCallbackFcn(app, @playnoisysignalButtonPushed, true);
app.playnoisysignalButton.Position = [89 144 104 22];
app.playnoisysignalButton.Text = ‘play noisy signal’;
% Create SNRTextAreaLabel
app.SNRTextAreaLabel = uilabel(app.UIFigure);
app.SNRTextAreaLabel.HorizontalAlignment = ‘right’;
app.SNRTextAreaLabel.Position = [64 185 31 22];
app.SNRTextAreaLabel.Text = ‘SNR’;
% Create SNRTextArea
app.SNRTextArea = uitextarea(app.UIFigure);
app.SNRTextArea.HorizontalAlignment = ‘right’;
app.SNRTextArea.Position = [110 185 77 24];
app.SNRTextArea.Value = {’12’};
% Create UIAxes3
app.UIAxes3 = uiaxes(app.UIFigure);
title(app.UIAxes3, ‘Noisy signal’)
xlabel(app.UIAxes3, ‘time’)
ylabel(app.UIAxes3, ‘magnitude’)
app.UIAxes3.Position = [726 292 414 197];
% Create UIAxes4
app.UIAxes4 = uiaxes(app.UIFigure);
title(app.UIAxes4, ‘Amplitude Density spectrum of Noisy Signal’)
xlabel(app.UIAxes4, ‘frequecny’)
ylabel(app.UIAxes4, ‘magnitude’)
app.UIAxes4.Position = [726 70 414 207];
% Create filterButton
app.filterButton = uibutton(app.UIFigure, ‘push’);
app.filterButton.ButtonPushedFcn = createCallbackFcn(app, @filterButtonPushed, true);
app.filterButton.Position = [103 70 100 22];
app.filterButton.Text = ‘filter’;
% Create UIAxes5
app.UIAxes5 = uiaxes(app.UIFigure);
title(app.UIAxes5, ‘Title’)
xlabel(app.UIAxes5, ‘X’)
ylabel(app.UIAxes5, ‘Y’)
app.UIAxes5.Position = [1170 292 382 197];
% Create UIAxes6
app.UIAxes6 = uiaxes(app.UIFigure);
title(app.UIAxes6, ‘Title’)
xlabel(app.UIAxes6, ‘X’)
ylabel(app.UIAxes6, ‘Y’)
app.UIAxes6.Position = [1170 70 382 207];
% Create showfilteredsignalButton
app.showfilteredsignalButton = uibutton(app.UIFigure, ‘push’);
app.showfilteredsignalButton.ButtonPushedFcn = createCallbackFcn(app, @showfilteredsignalButtonPushed, true);
app.showfilteredsignalButton.Position = [94 32 118 22];
app.showfilteredsignalButton.Text = ‘show filtered signal’;
end
end
methods (Access = public)
% Construct app
function app = app1
% Create and configure components
createComponents(app)
% Register the app with App Designer
registerApp(app, app.UIFigure)
if nargout == 0
clear app
end
end
% Code that executes before app deletion
function delete(app)
% Delete UIFigure when app is deleted
delete(app.UIFigure)
end
end
end appdesigner, audio processing, audio filtering, matlab app designer code, matlab gui, matlab app designer, audio signal plotting, callback, app designer callback, app designer not responding MATLAB Answers — New Questions
the matrix only works till days= 16 then when the days=17 or bigger the output is 0 on all the values in the matrix
% solar irradiation on a HORIZONTAL SURFACE
Cn = 0.7; % Clearance index
I0 = 1353; % Solar constant
latitude = -34.005133; % Latitude of the location
days =31; % Number of days in the month
hours = 24; % Number of hours in a day
% Initialize matrices to store results
dec_deg = zeros(days, 1); % Declination angles in degrees
DNI = zeros(days, hours); % Direct Normal Irradiation
DHI = zeros(days, hours); % Diffuse Horizontal Irradiance
GHI = zeros(days, hours); % Global Horizontal Irradiance
for n = 1:days
% Calculate declination angle for the day (in degrees)
dec_deg(n) = 23.45 * sind((360/365) * (n + 284));
% Convert declination angle from degrees to radians
dec_rad = deg2rad(dec_deg(n));
for time = 1:hours
% Calculate hour angle
h = (12 – time) * 15; % Hour angle in degrees
h_rad = deg2rad(h); % Hour angle in radians
% Calculate diffuse factor (Cs)
Cs = 0.095 + 0.04 * sin(deg2rad(360/365) * (n – 100));
% Calculate extraterrestrial solar irradiation (I)
I = I0 * (1 + 0.034 * cos(deg2rad(360 * n / 365.25)));
% Calculate atmospheric optical depth (k)
k = 0.174 + 0.035 * sin(deg2rad((360/365) * (n – 100)));
% Calculate solar altitude angle (alt)
Lat = deg2rad(latitude); % Latitude angle in radians
alt = asin(cos(Lat) * cos(dec_rad) * cos(h_rad) + (sin(Lat) * sin(dec_rad)));
alt_deg = rad2deg(alt); % Daily Solar Altitude Angle
% Calculate air mass (AM)
AM = 1 / sin(deg2rad(alt_deg)); % Air Mass
% Calculate Direct Normal Irradiation (DNI) for the current hour
DNI(n, time) = Cn * I * exp(-k * AM);
% Calculate Diffuse Horizontal Irradiance (DHI) for the current hour
DHI(n, time) = Cs * DNI(n, time);
% Calculate Global Horizontal Irradiance (GHI) for the current hour
GHI(n, time) = (DNI(n, time) + DHI(n, time)) / 1000;
end
end
%% Format changed
format longg
% Display matrices
disp("Direct Normal Irradiation (DNI) for 31 days (24 hours each): ");
disp(DNI);
disp("Diffuse Horizontal Irradiance (DHI) for 31 days (24 hours each): ");
disp(DHI);
disp("Global Horizontal Irradiance (GHI) for 31 days (24 hours each): ");
disp(GHI);
the display is 0 in the matrix for all 31 days but when the days=16 there is an output. if days=17 the output starts to be 0% solar irradiation on a HORIZONTAL SURFACE
Cn = 0.7; % Clearance index
I0 = 1353; % Solar constant
latitude = -34.005133; % Latitude of the location
days =31; % Number of days in the month
hours = 24; % Number of hours in a day
% Initialize matrices to store results
dec_deg = zeros(days, 1); % Declination angles in degrees
DNI = zeros(days, hours); % Direct Normal Irradiation
DHI = zeros(days, hours); % Diffuse Horizontal Irradiance
GHI = zeros(days, hours); % Global Horizontal Irradiance
for n = 1:days
% Calculate declination angle for the day (in degrees)
dec_deg(n) = 23.45 * sind((360/365) * (n + 284));
% Convert declination angle from degrees to radians
dec_rad = deg2rad(dec_deg(n));
for time = 1:hours
% Calculate hour angle
h = (12 – time) * 15; % Hour angle in degrees
h_rad = deg2rad(h); % Hour angle in radians
% Calculate diffuse factor (Cs)
Cs = 0.095 + 0.04 * sin(deg2rad(360/365) * (n – 100));
% Calculate extraterrestrial solar irradiation (I)
I = I0 * (1 + 0.034 * cos(deg2rad(360 * n / 365.25)));
% Calculate atmospheric optical depth (k)
k = 0.174 + 0.035 * sin(deg2rad((360/365) * (n – 100)));
% Calculate solar altitude angle (alt)
Lat = deg2rad(latitude); % Latitude angle in radians
alt = asin(cos(Lat) * cos(dec_rad) * cos(h_rad) + (sin(Lat) * sin(dec_rad)));
alt_deg = rad2deg(alt); % Daily Solar Altitude Angle
% Calculate air mass (AM)
AM = 1 / sin(deg2rad(alt_deg)); % Air Mass
% Calculate Direct Normal Irradiation (DNI) for the current hour
DNI(n, time) = Cn * I * exp(-k * AM);
% Calculate Diffuse Horizontal Irradiance (DHI) for the current hour
DHI(n, time) = Cs * DNI(n, time);
% Calculate Global Horizontal Irradiance (GHI) for the current hour
GHI(n, time) = (DNI(n, time) + DHI(n, time)) / 1000;
end
end
%% Format changed
format longg
% Display matrices
disp("Direct Normal Irradiation (DNI) for 31 days (24 hours each): ");
disp(DNI);
disp("Diffuse Horizontal Irradiance (DHI) for 31 days (24 hours each): ");
disp(DHI);
disp("Global Horizontal Irradiance (GHI) for 31 days (24 hours each): ");
disp(GHI);
the display is 0 in the matrix for all 31 days but when the days=16 there is an output. if days=17 the output starts to be 0 % solar irradiation on a HORIZONTAL SURFACE
Cn = 0.7; % Clearance index
I0 = 1353; % Solar constant
latitude = -34.005133; % Latitude of the location
days =31; % Number of days in the month
hours = 24; % Number of hours in a day
% Initialize matrices to store results
dec_deg = zeros(days, 1); % Declination angles in degrees
DNI = zeros(days, hours); % Direct Normal Irradiation
DHI = zeros(days, hours); % Diffuse Horizontal Irradiance
GHI = zeros(days, hours); % Global Horizontal Irradiance
for n = 1:days
% Calculate declination angle for the day (in degrees)
dec_deg(n) = 23.45 * sind((360/365) * (n + 284));
% Convert declination angle from degrees to radians
dec_rad = deg2rad(dec_deg(n));
for time = 1:hours
% Calculate hour angle
h = (12 – time) * 15; % Hour angle in degrees
h_rad = deg2rad(h); % Hour angle in radians
% Calculate diffuse factor (Cs)
Cs = 0.095 + 0.04 * sin(deg2rad(360/365) * (n – 100));
% Calculate extraterrestrial solar irradiation (I)
I = I0 * (1 + 0.034 * cos(deg2rad(360 * n / 365.25)));
% Calculate atmospheric optical depth (k)
k = 0.174 + 0.035 * sin(deg2rad((360/365) * (n – 100)));
% Calculate solar altitude angle (alt)
Lat = deg2rad(latitude); % Latitude angle in radians
alt = asin(cos(Lat) * cos(dec_rad) * cos(h_rad) + (sin(Lat) * sin(dec_rad)));
alt_deg = rad2deg(alt); % Daily Solar Altitude Angle
% Calculate air mass (AM)
AM = 1 / sin(deg2rad(alt_deg)); % Air Mass
% Calculate Direct Normal Irradiation (DNI) for the current hour
DNI(n, time) = Cn * I * exp(-k * AM);
% Calculate Diffuse Horizontal Irradiance (DHI) for the current hour
DHI(n, time) = Cs * DNI(n, time);
% Calculate Global Horizontal Irradiance (GHI) for the current hour
GHI(n, time) = (DNI(n, time) + DHI(n, time)) / 1000;
end
end
%% Format changed
format longg
% Display matrices
disp("Direct Normal Irradiation (DNI) for 31 days (24 hours each): ");
disp(DNI);
disp("Diffuse Horizontal Irradiance (DHI) for 31 days (24 hours each): ");
disp(DHI);
disp("Global Horizontal Irradiance (GHI) for 31 days (24 hours each): ");
disp(GHI);
the display is 0 in the matrix for all 31 days but when the days=16 there is an output. if days=17 the output starts to be 0 matrices MATLAB Answers — New Questions
Unauthorized Sandbox use detected. Your sandbox has been terminated
Hello Community.
I started some modules to get official certifications from MS and I got this lock. I really do not know what the reason was. (Usually I use 3 different IP addresses: from work (direct and VPN) and from home.
The module where I’ve got the lock is the following: Describe Azure Storage Services. Link
As you can see, I already sent the appeal but I still have not received any response. I would greatly appreciate all the help you can give me.
Hello Community.I started some modules to get official certifications from MS and I got this lock. I really do not know what the reason was. (Usually I use 3 different IP addresses: from work (direct and VPN) and from home.The module where I’ve got the lock is the following: Describe Azure Storage Services. Link As you can see, I already sent the appeal but I still have not received any response. I would greatly appreciate all the help you can give me. Read More
Sharing Applied Skills credentials
I am having trouble to share validated details of my Microsoft credentials.
I am having trouble to share validated details of my Microsoft credentials. Read More
Can´t install Microsoft 365 in my computer
Hi everybody. I bought this product but only shows my documents in the cloud. When I try to install the apps in my computer, I have several error messages “you need administrator permissions” and others. I unistalled previous versions of Office. In my receipt I don´t have a key. I spent two hours trying to solve it. But really, I can´t install Office apps from the cloud to my computer. I can only see the documents in the cloud. I appreciate your help, Sylvia
Hi everybody. I bought this product but only shows my documents in the cloud. When I try to install the apps in my computer, I have several error messages “you need administrator permissions” and others. I unistalled previous versions of Office. In my receipt I don´t have a key. I spent two hours trying to solve it. But really, I can´t install Office apps from the cloud to my computer. I can only see the documents in the cloud. I appreciate your help, Sylvia Read More