Category: News
How to check if a number is power of a prime number?
How to check if a number is power of a prime number?
e.g. 9, 25, 27, 36 are powers of a prime number. Program should return logical 1 for these kinds of numbers.How to check if a number is power of a prime number?
e.g. 9, 25, 27, 36 are powers of a prime number. Program should return logical 1 for these kinds of numbers. How to check if a number is power of a prime number?
e.g. 9, 25, 27, 36 are powers of a prime number. Program should return logical 1 for these kinds of numbers. prime-power check MATLAB Answers — New Questions
Unable to resolve the name ‘idpack.utConvertDataToOriginalDataType’.
Hello Community
I have problems running a script with the function ‘misdata’.
The code runs fine on other computers.
Any ideas or suggetions for an alternative, or how fix the problem are highly appreciated.
%%%Code%%%
load(‘processed_data.mat’);
Ps = 7;
time = pkf(Ps).time_nan;
y = pkf(Ps).cen_nan;
u = pkf(Ps).dos_matched_nan;
%Apply a second order model for
tau = 0.5; %Time constant
us = smooth_data(time,u,tau);
%Create a timetable of the data:
TT = array2timetable([us,y],"RowTimes",minutes(time),’VariableNames’,{‘InputName’,’OutputName’});
TTm = misdata(TT); %Remove missing data
ym = TTm.OutputData;
um = TTm.InputData;
save([‘Person’,num2str(Ps),’_processed_data.mat’],"um","ym","u","us","y","time","TTm",’-mat’);
%%% Error %%%
Unable to resolve the name ‘idpack.utConvertDataToOriginalDataType’.
Error in misdata (line 166)
de = idpack.utConvertDataToOriginalDataType(de,’timetable’,’misdata’);
Error in Remove_missing_and_smooth_Data (line 16)
TTm = misdata(TT); %Remove missing dataHello Community
I have problems running a script with the function ‘misdata’.
The code runs fine on other computers.
Any ideas or suggetions for an alternative, or how fix the problem are highly appreciated.
%%%Code%%%
load(‘processed_data.mat’);
Ps = 7;
time = pkf(Ps).time_nan;
y = pkf(Ps).cen_nan;
u = pkf(Ps).dos_matched_nan;
%Apply a second order model for
tau = 0.5; %Time constant
us = smooth_data(time,u,tau);
%Create a timetable of the data:
TT = array2timetable([us,y],"RowTimes",minutes(time),’VariableNames’,{‘InputName’,’OutputName’});
TTm = misdata(TT); %Remove missing data
ym = TTm.OutputData;
um = TTm.InputData;
save([‘Person’,num2str(Ps),’_processed_data.mat’],"um","ym","u","us","y","time","TTm",’-mat’);
%%% Error %%%
Unable to resolve the name ‘idpack.utConvertDataToOriginalDataType’.
Error in misdata (line 166)
de = idpack.utConvertDataToOriginalDataType(de,’timetable’,’misdata’);
Error in Remove_missing_and_smooth_Data (line 16)
TTm = misdata(TT); %Remove missing data Hello Community
I have problems running a script with the function ‘misdata’.
The code runs fine on other computers.
Any ideas or suggetions for an alternative, or how fix the problem are highly appreciated.
%%%Code%%%
load(‘processed_data.mat’);
Ps = 7;
time = pkf(Ps).time_nan;
y = pkf(Ps).cen_nan;
u = pkf(Ps).dos_matched_nan;
%Apply a second order model for
tau = 0.5; %Time constant
us = smooth_data(time,u,tau);
%Create a timetable of the data:
TT = array2timetable([us,y],"RowTimes",minutes(time),’VariableNames’,{‘InputName’,’OutputName’});
TTm = misdata(TT); %Remove missing data
ym = TTm.OutputData;
um = TTm.InputData;
save([‘Person’,num2str(Ps),’_processed_data.mat’],"um","ym","u","us","y","time","TTm",’-mat’);
%%% Error %%%
Unable to resolve the name ‘idpack.utConvertDataToOriginalDataType’.
Error in misdata (line 166)
de = idpack.utConvertDataToOriginalDataType(de,’timetable’,’misdata’);
Error in Remove_missing_and_smooth_Data (line 16)
TTm = misdata(TT); %Remove missing data misdata MATLAB Answers — New Questions
Why can’t I call a specified value in a 4D matrix mat-file when the last dimension is larger than 200?
Hi everyone,
I have one variable ‘irf’ sized 2241x5x105x10000 in a mat-file ver 7.3. When I load the mat-file and call the variable it returns all the values.
However, if I call certain specified value for ex irf(a,b,c,d) and d is larger than 200, Matlab always returns the value as 0.
I tried using m=matfile(‘myfile.mat’, ‘Writable’, false) then call m.irf(a,b,c,d) and still the value for d larger than 200 is always 0.
What did I do wrong here? How can I call a specified located value in my variable when d is larger than 200?
I work with Matlab 2024a with 128GB RAM in a virtual machine.
Many thanks in advanceHi everyone,
I have one variable ‘irf’ sized 2241x5x105x10000 in a mat-file ver 7.3. When I load the mat-file and call the variable it returns all the values.
However, if I call certain specified value for ex irf(a,b,c,d) and d is larger than 200, Matlab always returns the value as 0.
I tried using m=matfile(‘myfile.mat’, ‘Writable’, false) then call m.irf(a,b,c,d) and still the value for d larger than 200 is always 0.
What did I do wrong here? How can I call a specified located value in my variable when d is larger than 200?
I work with Matlab 2024a with 128GB RAM in a virtual machine.
Many thanks in advance Hi everyone,
I have one variable ‘irf’ sized 2241x5x105x10000 in a mat-file ver 7.3. When I load the mat-file and call the variable it returns all the values.
However, if I call certain specified value for ex irf(a,b,c,d) and d is larger than 200, Matlab always returns the value as 0.
I tried using m=matfile(‘myfile.mat’, ‘Writable’, false) then call m.irf(a,b,c,d) and still the value for d larger than 200 is always 0.
What did I do wrong here? How can I call a specified located value in my variable when d is larger than 200?
I work with Matlab 2024a with 128GB RAM in a virtual machine.
Many thanks in advance mat-file, large data MATLAB Answers — New Questions
Programmatically adjust the width of Document Bar
I am looking for a way to programatically adjust the width of this panel, does anyone have any ideas?
I am using setDocumentBarPosition to move this panel to the left side onf the window. I would like to adjust it’s width but can’t figure out how. I am able to get it’s current inset value using getGroupContainerInsets but am stuck at trying to figure out how to modify it. there is definitely something that matlab is storing in the background because it remembers the width when i re-create the group in a different instance of matlab.I am looking for a way to programatically adjust the width of this panel, does anyone have any ideas?
I am using setDocumentBarPosition to move this panel to the left side onf the window. I would like to adjust it’s width but can’t figure out how. I am able to get it’s current inset value using getGroupContainerInsets but am stuck at trying to figure out how to modify it. there is definitely something that matlab is storing in the background because it remembers the width when i re-create the group in a different instance of matlab. I am looking for a way to programatically adjust the width of this panel, does anyone have any ideas?
I am using setDocumentBarPosition to move this panel to the left side onf the window. I would like to adjust it’s width but can’t figure out how. I am able to get it’s current inset value using getGroupContainerInsets but am stuck at trying to figure out how to modify it. there is definitely something that matlab is storing in the background because it remembers the width when i re-create the group in a different instance of matlab. jframe, figure, undocumented MATLAB Answers — New Questions
program block diagram in matlab, not simulink
Hi,
I have an task to calculate the transferfunction with an given, complicated block diagram. So I simplify the block diagram until I have the complete transfer function in the last block – not a problem. Now I have the next task which tells me to proof that my previous calculations are correct using matlab (not simulink, which would be the third task; and I have already done that to make sure my transfer function from task a) was correct)
So my question is: how do I translate a block diagram with given transfer functions into matlab code? I can easily define all the blocks’ transfer functions like G1=tf(c1,d1);, but how do I tell matlab in code where a sum is, where a branch splits etc?
I would realy appreciate any help, as that is something our professor does not show in his vids and leaves to our own to figure out -.-
Thank you very much,
DennisHi,
I have an task to calculate the transferfunction with an given, complicated block diagram. So I simplify the block diagram until I have the complete transfer function in the last block – not a problem. Now I have the next task which tells me to proof that my previous calculations are correct using matlab (not simulink, which would be the third task; and I have already done that to make sure my transfer function from task a) was correct)
So my question is: how do I translate a block diagram with given transfer functions into matlab code? I can easily define all the blocks’ transfer functions like G1=tf(c1,d1);, but how do I tell matlab in code where a sum is, where a branch splits etc?
I would realy appreciate any help, as that is something our professor does not show in his vids and leaves to our own to figure out -.-
Thank you very much,
Dennis Hi,
I have an task to calculate the transferfunction with an given, complicated block diagram. So I simplify the block diagram until I have the complete transfer function in the last block – not a problem. Now I have the next task which tells me to proof that my previous calculations are correct using matlab (not simulink, which would be the third task; and I have already done that to make sure my transfer function from task a) was correct)
So my question is: how do I translate a block diagram with given transfer functions into matlab code? I can easily define all the blocks’ transfer functions like G1=tf(c1,d1);, but how do I tell matlab in code where a sum is, where a branch splits etc?
I would realy appreciate any help, as that is something our professor does not show in his vids and leaves to our own to figure out -.-
Thank you very much,
Dennis block diagram, transfer function, matlab MATLAB Answers — New Questions
Correct the code for me please
% Given data points
x = [0,0.1, 0.8, 0.6, 0.9, 1];
f = [-1,-1.2299,-3.455, -2.9949, -3.3929, -3];
% Part (a) – Construct the divided difference table
n = length(x);
d = zeros(n);
d(1,1) = f(1);
for i = 2:n
d(i,1) = (f(i) – f(i-1))/(x(i) – x(i-1));
for j = 2:i
d(i,j) = (d(i,j-1) – d(i-1,j-1))/(x(i) – x(i-j));
end
end
disp(‘Divided Difference Table:’)
disp(d)
% Part (b) – Evaluate the polynomial of order "n-1"
y = 0;
for i = 1:n
temp = f(1);
for j = 1:i
temp = temp * (0.5 – x(1:i-j)) + d(i,j);
end
y = y + temp;
end
fprintf(‘The value of the polynomial at x = 0.5 is %.4fn’, y)
% Part (c) – Evaluate f(0.5)
f_interp = interp1(x,f,0.5);
fprintf(‘The value of f(0.5) is %.4fn’, f_interp)
% Part (d) – Check your answers using built-in MATLAB functions
p = polyfit(x,f,5);
y_polyfit = polyval(p,0.5);
fprintf(‘The value of the polynomial at x = 0.5 using polyfit is %.4fn’, y_polyfit)
f_interp_polyfit = interp1(x,f,0.5,’linear’);
fprintf(‘The value of f(0.5) using interp1 is %.4fn’, f_interp_polyfit)% Given data points
x = [0,0.1, 0.8, 0.6, 0.9, 1];
f = [-1,-1.2299,-3.455, -2.9949, -3.3929, -3];
% Part (a) – Construct the divided difference table
n = length(x);
d = zeros(n);
d(1,1) = f(1);
for i = 2:n
d(i,1) = (f(i) – f(i-1))/(x(i) – x(i-1));
for j = 2:i
d(i,j) = (d(i,j-1) – d(i-1,j-1))/(x(i) – x(i-j));
end
end
disp(‘Divided Difference Table:’)
disp(d)
% Part (b) – Evaluate the polynomial of order "n-1"
y = 0;
for i = 1:n
temp = f(1);
for j = 1:i
temp = temp * (0.5 – x(1:i-j)) + d(i,j);
end
y = y + temp;
end
fprintf(‘The value of the polynomial at x = 0.5 is %.4fn’, y)
% Part (c) – Evaluate f(0.5)
f_interp = interp1(x,f,0.5);
fprintf(‘The value of f(0.5) is %.4fn’, f_interp)
% Part (d) – Check your answers using built-in MATLAB functions
p = polyfit(x,f,5);
y_polyfit = polyval(p,0.5);
fprintf(‘The value of the polynomial at x = 0.5 using polyfit is %.4fn’, y_polyfit)
f_interp_polyfit = interp1(x,f,0.5,’linear’);
fprintf(‘The value of f(0.5) using interp1 is %.4fn’, f_interp_polyfit) % Given data points
x = [0,0.1, 0.8, 0.6, 0.9, 1];
f = [-1,-1.2299,-3.455, -2.9949, -3.3929, -3];
% Part (a) – Construct the divided difference table
n = length(x);
d = zeros(n);
d(1,1) = f(1);
for i = 2:n
d(i,1) = (f(i) – f(i-1))/(x(i) – x(i-1));
for j = 2:i
d(i,j) = (d(i,j-1) – d(i-1,j-1))/(x(i) – x(i-j));
end
end
disp(‘Divided Difference Table:’)
disp(d)
% Part (b) – Evaluate the polynomial of order "n-1"
y = 0;
for i = 1:n
temp = f(1);
for j = 1:i
temp = temp * (0.5 – x(1:i-j)) + d(i,j);
end
y = y + temp;
end
fprintf(‘The value of the polynomial at x = 0.5 is %.4fn’, y)
% Part (c) – Evaluate f(0.5)
f_interp = interp1(x,f,0.5);
fprintf(‘The value of f(0.5) is %.4fn’, f_interp)
% Part (d) – Check your answers using built-in MATLAB functions
p = polyfit(x,f,5);
y_polyfit = polyval(p,0.5);
fprintf(‘The value of the polynomial at x = 0.5 using polyfit is %.4fn’, y_polyfit)
f_interp_polyfit = interp1(x,f,0.5,’linear’);
fprintf(‘The value of f(0.5) using interp1 is %.4fn’, f_interp_polyfit) numerical MATLAB Answers — New Questions
My User-defined Function is in red
I followed the exact format to set up a user-defined function in the first line. Even my classmates’ worked perfectly fine but mine. Can anyone show me why my function is in red?I followed the exact format to set up a user-defined function in the first line. Even my classmates’ worked perfectly fine but mine. Can anyone show me why my function is in red? I followed the exact format to set up a user-defined function in the first line. Even my classmates’ worked perfectly fine but mine. Can anyone show me why my function is in red? user-defined functions MATLAB Answers — New Questions
SharePoint Brand Center – Controlling who can see the branding assets
I’ve been looking at the new Brand Center and the promised “central” branding. However, it doesn’t seem that we will truly be able to centrally manage anything.
Scenario: Our branding team wants to push out some custom branding to a particular Hub site and sites associated to the hub. However, they don’t want the branding assets they use for this (themes, fonts, images, etc.) available for anyone in the company to use (via Change the look or the Organizational Assets Library). From my research so far, it looks like any branding assets used for a site will then be available for everyone in the business to be able to use/apply in their own sites, and no way to hide them.
Can anyone explain/confirm if this scenario would be possible with the new Brand Center (branding assets not available to Site Owners/Members), or is it not actually going to let us “centrally” manage the branding? If the answer is “No”, then that’s a major let down and going to severely limit its use.
Also, looking to confirm if we can hide the Microsoft fonts, etc. that just appear magically when we enable the Brand Center.
I’ve been looking at the new Brand Center and the promised “central” branding. However, it doesn’t seem that we will truly be able to centrally manage anything. Scenario: Our branding team wants to push out some custom branding to a particular Hub site and sites associated to the hub. However, they don’t want the branding assets they use for this (themes, fonts, images, etc.) available for anyone in the company to use (via Change the look or the Organizational Assets Library). From my research so far, it looks like any branding assets used for a site will then be available for everyone in the business to be able to use/apply in their own sites, and no way to hide them. Can anyone explain/confirm if this scenario would be possible with the new Brand Center (branding assets not available to Site Owners/Members), or is it not actually going to let us “centrally” manage the branding? If the answer is “No”, then that’s a major let down and going to severely limit its use. Also, looking to confirm if we can hide the Microsoft fonts, etc. that just appear magically when we enable the Brand Center. Read More
Default distance of image from text
When adding an image to Word, the Text Wrapping options include figures for Distance from text (margins on 4 sides). I can change these for individual images, but how can I preserve my choices as the default?
When adding an image to Word, the Text Wrapping options include figures for Distance from text (margins on 4 sides). I can change these for individual images, but how can I preserve my choices as the default? Read More
checkboxes
Hi all. Could you please let me know how I get the “Cell Controls-Checkbox” tab on my ribbon. I have searched the “Customize Ribbon” and can’t find it there. Am I doing something wrong or is it not available on the Microsoft 365 family subscription
Hi all. Could you please let me know how I get the “Cell Controls-Checkbox” tab on my ribbon. I have searched the “Customize Ribbon” and can’t find it there. Am I doing something wrong or is it not available on the Microsoft 365 family subscription Read More
How to clone or duplicate an Analytic Rule in Microsoft Sentinel using PowerShell
How can you clone or duplicate an Analytic Rule that resides in Microsoft Sentinel using either PowerShell or Azure CLI?
The cloned Analytic Rule will require a new ruleId and name but all other properties can remain the same.
I have tried using the Sentinel-related PowerShell module and functions…
$resourceGroupName = “XYZ”
$workspaceName = “abc”
# Get all analytic rules
$analyticRules = Get-AzSentinelAlertRule -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName
foreach ($rule in $analyticRules) {
# Duplicate each rule
$newRule = $rule
$newRule.DisplayName = “_” + $rule.DisplayName
$newRule.Id = $null # Clear ID for new rule creation
# Create the duplicated rule
# /// New-AzOperationalInsightsSavedSearch -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName -Properties $newRule.Properties
#? New-AzSentinelAlertRule ? parameters to add
}
How can you clone or duplicate an Analytic Rule that resides in Microsoft Sentinel using either PowerShell or Azure CLI?The cloned Analytic Rule will require a new ruleId and name but all other properties can remain the same.I have tried using the Sentinel-related PowerShell module and functions…$resourceGroupName = “XYZ”$workspaceName = “abc”# Get all analytic rules$analyticRules = Get-AzSentinelAlertRule -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceNameforeach ($rule in $analyticRules) {# Duplicate each rule$newRule = $rule$newRule.DisplayName = “_” + $rule.DisplayName$newRule.Id = $null # Clear ID for new rule creation# Create the duplicated rule# /// New-AzOperationalInsightsSavedSearch -ResourceGroupName $resourceGroupName -WorkspaceName $workspaceName -Properties $newRule.Properties#? New-AzSentinelAlertRule ? parameters to add} Read More
Necesito ayuda de Microsoft con la desinstalación de una carpeta
Hola, tengo 2 SSD, el disco C: es donde tengo mi sistema operativo instalado y el disco G: es donde instalo juegos, el problema ocurre es que al instalar el launcher de Minecraft desde la Microsoft store, se creo en el disco G: una carpeta denominada ”Program files” no me gusto eso entonces decidi desinstalar el launcher, pero esta carpeta quedo en el disco y la unica forma de eliminarla fue abriendo el Simbolo de sistema en administrador y aplicar los siguientes comandos:
takeown /F “G:Program Files” /A /R /D S
icacls “G:Program Files” /T /grant administrators:F
rd /s /q “G:Program Files”
Estos comandos elimino la carpeta del disco G: pero cada vez que reinicio el ordenador se vuelve a crear la carpeta. ¿Como hago para eliminarla definitivamente y que no me vuelva a crear esa carpeta de ”Program files” en mi disco G: ?
Gracais de adelanto por la ayuda.
Hola, tengo 2 SSD, el disco C: es donde tengo mi sistema operativo instalado y el disco G: es donde instalo juegos, el problema ocurre es que al instalar el launcher de Minecraft desde la Microsoft store, se creo en el disco G: una carpeta denominada ”Program files” no me gusto eso entonces decidi desinstalar el launcher, pero esta carpeta quedo en el disco y la unica forma de eliminarla fue abriendo el Simbolo de sistema en administrador y aplicar los siguientes comandos: takeown /F “G:Program Files” /A /R /D S
icacls “G:Program Files” /T /grant administrators:F
rd /s /q “G:Program Files”Estos comandos elimino la carpeta del disco G: pero cada vez que reinicio el ordenador se vuelve a crear la carpeta. ¿Como hago para eliminarla definitivamente y que no me vuelva a crear esa carpeta de ”Program files” en mi disco G: ?Gracais de adelanto por la ayuda. Read More
What is the reason that GoogleNet takes less time than MobileNetv2 and EfficientNet-b0 for feature extraction from a set of images?
I am using 3 Pre-trained networks namely GoogLeNet, MobileNetv2 and EfficientNet-b0 for feature extraction task on a set of images. Time taken (in seconds per frame) by GoogLeNet among these three networks is the least, whereas EfficientNet-b0 took the longest time. MobileNetv2 fell in between these two. In summary, we can show time taken (in seconds per frame) by these networks as following:
GoogLeNet < MobileNetv2 < EfficientNet-b0
I am trying to find a valid reason for this. Can this be attributed to the fact that depth of GoogLeNet is 22, being less than the depth of MobileNetv2 ( 53) and depth of EfficientNet-b0 being 82 ?
Can someone please put some light on this?
I have also gone through the plot shown in the following link that shows that realtive prediction time of GoogLeNet is less than MobileNetv2 which is less than EfficientNet-b0
https://in.mathworks.com/help/deeplearning/ug/pretrained-convolutional-neural-networks.htmlI am using 3 Pre-trained networks namely GoogLeNet, MobileNetv2 and EfficientNet-b0 for feature extraction task on a set of images. Time taken (in seconds per frame) by GoogLeNet among these three networks is the least, whereas EfficientNet-b0 took the longest time. MobileNetv2 fell in between these two. In summary, we can show time taken (in seconds per frame) by these networks as following:
GoogLeNet < MobileNetv2 < EfficientNet-b0
I am trying to find a valid reason for this. Can this be attributed to the fact that depth of GoogLeNet is 22, being less than the depth of MobileNetv2 ( 53) and depth of EfficientNet-b0 being 82 ?
Can someone please put some light on this?
I have also gone through the plot shown in the following link that shows that realtive prediction time of GoogLeNet is less than MobileNetv2 which is less than EfficientNet-b0
https://in.mathworks.com/help/deeplearning/ug/pretrained-convolutional-neural-networks.html I am using 3 Pre-trained networks namely GoogLeNet, MobileNetv2 and EfficientNet-b0 for feature extraction task on a set of images. Time taken (in seconds per frame) by GoogLeNet among these three networks is the least, whereas EfficientNet-b0 took the longest time. MobileNetv2 fell in between these two. In summary, we can show time taken (in seconds per frame) by these networks as following:
GoogLeNet < MobileNetv2 < EfficientNet-b0
I am trying to find a valid reason for this. Can this be attributed to the fact that depth of GoogLeNet is 22, being less than the depth of MobileNetv2 ( 53) and depth of EfficientNet-b0 being 82 ?
Can someone please put some light on this?
I have also gone through the plot shown in the following link that shows that realtive prediction time of GoogLeNet is less than MobileNetv2 which is less than EfficientNet-b0
https://in.mathworks.com/help/deeplearning/ug/pretrained-convolutional-neural-networks.html pre-trained networks, googlenet, mobilenetv2, deep learning, matlab, neural networks, efficientnet-b0 MATLAB Answers — New Questions
Time Scaling In Discrete Time Signals
Hello everyone. I want to apply time scaling property to my signal. It is hard for me to apply for the signals especially like x[4n], x[2n], x[1/3n]. I know there must be mod calculation because the values should be integer but i could not write the code can someone help me please?
n=[-2 -1 0 1 2 3 4];
x=[3 1 0 4 6 2 9];Hello everyone. I want to apply time scaling property to my signal. It is hard for me to apply for the signals especially like x[4n], x[2n], x[1/3n]. I know there must be mod calculation because the values should be integer but i could not write the code can someone help me please?
n=[-2 -1 0 1 2 3 4];
x=[3 1 0 4 6 2 9]; Hello everyone. I want to apply time scaling property to my signal. It is hard for me to apply for the signals especially like x[4n], x[2n], x[1/3n]. I know there must be mod calculation because the values should be integer but i could not write the code can someone help me please?
n=[-2 -1 0 1 2 3 4];
x=[3 1 0 4 6 2 9]; time scaling, discrete time, property, scaling, time, dsp, stem, matlab MATLAB Answers — New Questions
how to change the transparency of individual colors in the colormap of an image?
Hello,
I’m using bubblechart to display my data as shown below;
bubblechart(x2xz,z2xz,ones(size(x2xz)),n2xz,’MarkerFaceAlpha’,0.1,’MarkerEdgeAlpha’,0.2);
-this works. However it would be better if I could make MarkerFaceAlpha a variable, so that it changes based on the value of n2xz (which currently controls the colour of the bubbles). Unfortunately MarkerFaceAlpha has to be a scalar, not a vector, with bubblechart.
The plot command accepts colours in this format (where the fourth column is the transparency); ‘Color’,[0.0 0.0 1.0 0.3], but when I build a colormap with four columns and try to use that instead of using the MarkerFaceAlpha option, the colormap command rejects it.
I have googled this and searched Matlab Answers, but nothing useful was found.
Any suggestions would be gratefully received. Thank you.
Gordon CooperHello,
I’m using bubblechart to display my data as shown below;
bubblechart(x2xz,z2xz,ones(size(x2xz)),n2xz,’MarkerFaceAlpha’,0.1,’MarkerEdgeAlpha’,0.2);
-this works. However it would be better if I could make MarkerFaceAlpha a variable, so that it changes based on the value of n2xz (which currently controls the colour of the bubbles). Unfortunately MarkerFaceAlpha has to be a scalar, not a vector, with bubblechart.
The plot command accepts colours in this format (where the fourth column is the transparency); ‘Color’,[0.0 0.0 1.0 0.3], but when I build a colormap with four columns and try to use that instead of using the MarkerFaceAlpha option, the colormap command rejects it.
I have googled this and searched Matlab Answers, but nothing useful was found.
Any suggestions would be gratefully received. Thank you.
Gordon Cooper Hello,
I’m using bubblechart to display my data as shown below;
bubblechart(x2xz,z2xz,ones(size(x2xz)),n2xz,’MarkerFaceAlpha’,0.1,’MarkerEdgeAlpha’,0.2);
-this works. However it would be better if I could make MarkerFaceAlpha a variable, so that it changes based on the value of n2xz (which currently controls the colour of the bubbles). Unfortunately MarkerFaceAlpha has to be a scalar, not a vector, with bubblechart.
The plot command accepts colours in this format (where the fourth column is the transparency); ‘Color’,[0.0 0.0 1.0 0.3], but when I build a colormap with four columns and try to use that instead of using the MarkerFaceAlpha option, the colormap command rejects it.
I have googled this and searched Matlab Answers, but nothing useful was found.
Any suggestions would be gratefully received. Thank you.
Gordon Cooper bubblechart, transparency MATLAB Answers — New Questions
Win 11 reset and changes in taskbar
Thanks!
Why is it when I reset my Win 11 Beta build 22635.3575, that I now have the wigets showing on the right side of the panel? How can I get back to the left?Thanks! Read More
Should I install third-part anti-virus app on Windows 11?
It seems Windows 11 is easy to get infected or hacked by virus/malware. Should I install 3rd-party antivirus for additional security?
It seems Windows 11 is easy to get infected or hacked by virus/malware. Should I install 3rd-party antivirus for additional security? Read More
What kind of OS does Hyper-V support?
I know it is fine to create Windows virtual machines with Hyper-V. How about the Linux and macOS? It could be great if Hyper-V supports these guest OS. Virtual box and vmware workstation are too complex for beginners.
Thanks
I know it is fine to create Windows virtual machines with Hyper-V. How about the Linux and macOS? It could be great if Hyper-V supports these guest OS. Virtual box and vmware workstation are too complex for beginners. Thanks Read More
How to integrate continuous integration and deployment with WordPress on App Service
Why use Continuous integration and deployment with WordPress?
CI/CD is a system that automates steps in software delivery. For WordPress developers, it means less manual work: once you push updates, the system automatically tests and deploys them. It’s like having a assistant that not only speeds up your work but also checks for errors with each update, ensuring your WordPress site runs smoothly. This constant testing and feedback loop means you can fix bugs quickly and improve your site continuously without disrupting the live version. In short, CI/CD makes your development process faster, more efficient, and less error prone.
How to get started with Continuous integration and deployment in WordPress on App Service?
Note: This code integration feature is currently enabled with WordPress on App Service images having tags PHP 8.2 or greater. https://github.com/Azure/wordpress-linux-appservice/tree/main?tab=readme-ov-file#image-details
Part 1: Before integrating code with Git, it is important to decide which files to include. It is recommended that you keep track of a smaller number of files. For example, keeping track of files in wp-content/uploads is inefficient as it might contain large static files. Instead, files like these must be stored on blob storage. Another example is wp_config.php file, since this file contains separate settings for development and production environments.
You should also choose to ignore WordPress core files if you are not making any changes to them.
This is a simple .gitignore file to get you started: (ref: https://github.com/github/gitignore/blob/main/WordPress.gitignore)
*~
*.log
.htaccess
wp-content/uploads/
wp-content/upgrade/
wp-content/cache/
wp-content/backups/
wp-content/backup-db/
wp-content/blogs.dir/
wp-content/advanced-cache.php
wp-content/object-cache.php
wp-content/wp-cache-config.php
sitemap.xml
sitemap.xml.gz
# WP Core
/wp-admin/
/wp-content/index.php
/wp-content/languages
/wp-content/plugins/index.php
/wp-content/themes/index.php
/wp-includes/
/index.php
/license.txt
/readme.html
/wp-*.php
/xmlrpc.php
# Configuration
wp-config.php
Part 2: Downloading WordPress code from App Service
Step 1: Go to Kudu dashboard https://<sitename>.scm.azurewebsites.net/newui (Ref: Kudu Dashboard explained)
Step 2: Go to file manager and download the /site/wwwroot folder as a zip file
Step 3: Extract the zip file, use the gitignore file from step 1, and push it to your remote repository.
Part 3: Enabling CI/CD with GitHub
Step 1: Go to Deployment Center on your app service dashboard.
Step 2: From the Source dropdown, select ‘GitHub’
Step 3: Select the repository and the branch from step 2.
Step 4: Select ‘Add a workflow’ from the workflow options.
Step 5: Under ‘Authentication settings’, it is recommended that you select User-assigned authentication type.
Step 6: Click on Save
Support and Feedback
In case you need any support, you can open a support request at New support request – Microsoft Azure.
For more details about the offering, please visit Announcing the General Availability of WordPress on Azure App Service – Microsoft Tech Community.
If you have any ideas about how we can make WordPress on Azure App Service better, please post your ideas at Post idea · Community (azure.com)
or you could email us at wordpressonazure@microsoft.com to start a conversation.
Microsoft Tech Community – Latest Blogs –Read More
Ziegler Nichols PID Method
Hi,
I have a problem ,this is my G(s)=59000/(s^2+59000)
I want to apply the tangent method of Ziegler-Nichols, but my step is a sinusoid undumped. How I can approximate my G(s) to apply this method? Thanks very much.Hi,
I have a problem ,this is my G(s)=59000/(s^2+59000)
I want to apply the tangent method of Ziegler-Nichols, but my step is a sinusoid undumped. How I can approximate my G(s) to apply this method? Thanks very much. Hi,
I have a problem ,this is my G(s)=59000/(s^2+59000)
I want to apply the tangent method of Ziegler-Nichols, but my step is a sinusoid undumped. How I can approximate my G(s) to apply this method? Thanks very much. pid, ziegler nichlos MATLAB Answers — New Questions