Month: June 2024
Tcpclient function very slow.
Here is the example tcpclient I use. I it takes 2.3 seconds to send the command. Can anyone let me know what I am doing wrong.
commandstr = ‘echo’
tic
t = tcpclient(‘localhost’,Portnumber);
t.ByteOrder = "big-endian";
% configureTerminator(t,"CR/LF")
write(t ,length(commandstr),’uint32′);
write(t,commandstr);
BytesToRead = read(t,1,’uint32′);
B = read(t,BytesToRead,’string’);
command_sent = strip(B);
clear t
toc
Elapsed time is 2.353485 seconds.Here is the example tcpclient I use. I it takes 2.3 seconds to send the command. Can anyone let me know what I am doing wrong.
commandstr = ‘echo’
tic
t = tcpclient(‘localhost’,Portnumber);
t.ByteOrder = "big-endian";
% configureTerminator(t,"CR/LF")
write(t ,length(commandstr),’uint32′);
write(t,commandstr);
BytesToRead = read(t,1,’uint32′);
B = read(t,BytesToRead,’string’);
command_sent = strip(B);
clear t
toc
Elapsed time is 2.353485 seconds. Here is the example tcpclient I use. I it takes 2.3 seconds to send the command. Can anyone let me know what I am doing wrong.
commandstr = ‘echo’
tic
t = tcpclient(‘localhost’,Portnumber);
t.ByteOrder = "big-endian";
% configureTerminator(t,"CR/LF")
write(t ,length(commandstr),’uint32′);
write(t,commandstr);
BytesToRead = read(t,1,’uint32′);
B = read(t,BytesToRead,’string’);
command_sent = strip(B);
clear t
toc
Elapsed time is 2.353485 seconds. tcpclient MATLAB Answers — New Questions
Windows 2019 Install IIS without internet connection.
How do you install IIS on Windows 2019 Server without an internet connection? Either from Server Manager or PowerShell.
How do you install IIS on Windows 2019 Server without an internet connection? Either from Server Manager or PowerShell. Read More
Word Dictation not working
Recently, Dictation in my Word software stopped working. I click the Dictate button and the program looks like it’s dictating, but nothing appears onscreen. I’ve tried restarting Word, restarting my computer, and doing an online repair of Microsoft 365, but no luck. I updated MS 365 yesterday, but the issue began before that. Thanks in advance for your help.
Recently, Dictation in my Word software stopped working. I click the Dictate button and the program looks like it’s dictating, but nothing appears onscreen. I’ve tried restarting Word, restarting my computer, and doing an online repair of Microsoft 365, but no luck. I updated MS 365 yesterday, but the issue began before that. Thanks in advance for your help. Read More
ROS2 Subscriber Callback Function Arguments for Code Generation
I need to pass additional variables to my ROS2 subscriber callback function. I am trying to follow the help file explicity, which states:
"callback can be a single function handle or a cell array. The first element of the cell array needs to be a function handle or a string containing the name of a function. The remaining elements of the cell array can be arbitrary user data that will be passed to the callback function."
Based on this I built the following function to run my ROS2 subscriber node:
function [] = multirate_tag_sorter_test_simple()
node = ros2node("myNode",0);
myMsg = ros2message("builtin_interfaces/Time");
tableA = struct2table(myMsg, ‘AsArray’, true);
%% THE CREATING PROBLEMS —V
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",{@receivedMessageCallback,tableA});
%
while true
fprintf(‘Waiting for messages to arrive…n’)
pause(5);
end
function receivedMessageCallback(src,msg,inputTable)
fprintf(‘MESSAGE RECEIVED!’);
end
end
but this generates error for code generation (see end of this question). The callback works fine if I don’t try to pass additional arguments (i.e. mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",@receivedMessageCallback). The issue I am having is that when I try to specify the callback as {@receivedMessageCallback,tableA}, I get the error message shown at the bottom of this message.
The error message states that it expects a parameter name. It seems that Coder doesn’t know that {@func,var1} is a callback function declaration. Unfortunately, callback functions are not listed in the nave-value pair list in the help file for ros2subscriber. I even tried setting the property manually after the subscriber intialization,
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time")
mySub.NewMessageFnc = {@receivedMessageCallback,tableA};
but got an error stating that NewMessageFnc is immutable, so it must be specified in the ros2subscriber call. Is this a bug with code generation for these callbacks, or am I doing something wrong? If it is a bug, is there a work around? Thanks.
The code generation script
cfg = coder.config(‘exe’);
cfg.Hardware = coder.hardware(‘Robot Operating System 2 (ROS 2)’);
cfg.Hardware.BuildAction = ‘Build and load’;
cfg.Hardware.RemoteDeviceAddress = ‘XXX.XXX.XXX.XXX’;
cfg.Hardware.RemoteDeviceUsername = ‘XXXX’;
cfg.Hardware.RemoteDevicePassword = ‘XXXXX’;
cfg.Hardware.DeployTo = ‘Remote Device’;
cfg.Hardware.ROS2Folder = ‘/opt/ros/galactic’;
cfg.Hardware.ROS2Workspace = ‘~/uavrt_ws’;
cfg.HardwareImplementation.ProdHWDeviceType = ‘Intel->x86-64 (Linux 64)’;
cfg.RuntimeChecks = true;%Disable for final deployments.
codegen multirate_tag_sorter_test_simple -args {} -config cfg
The error message
>> multirate_tag_sorter_test_codegen_script
??? Expected a parameter name.
Error in ==> multirate_tag_sorter_test_simple Line: 7 Column: 9
Code generation failed: View Error Report
Error using codegen
Error in multirate_tag_sorter_test_codegen_script (line 22)
codegen multirate_tag_sorter_test_simple -args {} -config cfgI need to pass additional variables to my ROS2 subscriber callback function. I am trying to follow the help file explicity, which states:
"callback can be a single function handle or a cell array. The first element of the cell array needs to be a function handle or a string containing the name of a function. The remaining elements of the cell array can be arbitrary user data that will be passed to the callback function."
Based on this I built the following function to run my ROS2 subscriber node:
function [] = multirate_tag_sorter_test_simple()
node = ros2node("myNode",0);
myMsg = ros2message("builtin_interfaces/Time");
tableA = struct2table(myMsg, ‘AsArray’, true);
%% THE CREATING PROBLEMS —V
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",{@receivedMessageCallback,tableA});
%
while true
fprintf(‘Waiting for messages to arrive…n’)
pause(5);
end
function receivedMessageCallback(src,msg,inputTable)
fprintf(‘MESSAGE RECEIVED!’);
end
end
but this generates error for code generation (see end of this question). The callback works fine if I don’t try to pass additional arguments (i.e. mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",@receivedMessageCallback). The issue I am having is that when I try to specify the callback as {@receivedMessageCallback,tableA}, I get the error message shown at the bottom of this message.
The error message states that it expects a parameter name. It seems that Coder doesn’t know that {@func,var1} is a callback function declaration. Unfortunately, callback functions are not listed in the nave-value pair list in the help file for ros2subscriber. I even tried setting the property manually after the subscriber intialization,
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time")
mySub.NewMessageFnc = {@receivedMessageCallback,tableA};
but got an error stating that NewMessageFnc is immutable, so it must be specified in the ros2subscriber call. Is this a bug with code generation for these callbacks, or am I doing something wrong? If it is a bug, is there a work around? Thanks.
The code generation script
cfg = coder.config(‘exe’);
cfg.Hardware = coder.hardware(‘Robot Operating System 2 (ROS 2)’);
cfg.Hardware.BuildAction = ‘Build and load’;
cfg.Hardware.RemoteDeviceAddress = ‘XXX.XXX.XXX.XXX’;
cfg.Hardware.RemoteDeviceUsername = ‘XXXX’;
cfg.Hardware.RemoteDevicePassword = ‘XXXXX’;
cfg.Hardware.DeployTo = ‘Remote Device’;
cfg.Hardware.ROS2Folder = ‘/opt/ros/galactic’;
cfg.Hardware.ROS2Workspace = ‘~/uavrt_ws’;
cfg.HardwareImplementation.ProdHWDeviceType = ‘Intel->x86-64 (Linux 64)’;
cfg.RuntimeChecks = true;%Disable for final deployments.
codegen multirate_tag_sorter_test_simple -args {} -config cfg
The error message
>> multirate_tag_sorter_test_codegen_script
??? Expected a parameter name.
Error in ==> multirate_tag_sorter_test_simple Line: 7 Column: 9
Code generation failed: View Error Report
Error using codegen
Error in multirate_tag_sorter_test_codegen_script (line 22)
codegen multirate_tag_sorter_test_simple -args {} -config cfg I need to pass additional variables to my ROS2 subscriber callback function. I am trying to follow the help file explicity, which states:
"callback can be a single function handle or a cell array. The first element of the cell array needs to be a function handle or a string containing the name of a function. The remaining elements of the cell array can be arbitrary user data that will be passed to the callback function."
Based on this I built the following function to run my ROS2 subscriber node:
function [] = multirate_tag_sorter_test_simple()
node = ros2node("myNode",0);
myMsg = ros2message("builtin_interfaces/Time");
tableA = struct2table(myMsg, ‘AsArray’, true);
%% THE CREATING PROBLEMS —V
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",{@receivedMessageCallback,tableA});
%
while true
fprintf(‘Waiting for messages to arrive…n’)
pause(5);
end
function receivedMessageCallback(src,msg,inputTable)
fprintf(‘MESSAGE RECEIVED!’);
end
end
but this generates error for code generation (see end of this question). The callback works fine if I don’t try to pass additional arguments (i.e. mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time",@receivedMessageCallback). The issue I am having is that when I try to specify the callback as {@receivedMessageCallback,tableA}, I get the error message shown at the bottom of this message.
The error message states that it expects a parameter name. It seems that Coder doesn’t know that {@func,var1} is a callback function declaration. Unfortunately, callback functions are not listed in the nave-value pair list in the help file for ros2subscriber. I even tried setting the property manually after the subscriber intialization,
mySub = ros2subscriber(node,"/myTopic","builtin_interfaces/Time")
mySub.NewMessageFnc = {@receivedMessageCallback,tableA};
but got an error stating that NewMessageFnc is immutable, so it must be specified in the ros2subscriber call. Is this a bug with code generation for these callbacks, or am I doing something wrong? If it is a bug, is there a work around? Thanks.
The code generation script
cfg = coder.config(‘exe’);
cfg.Hardware = coder.hardware(‘Robot Operating System 2 (ROS 2)’);
cfg.Hardware.BuildAction = ‘Build and load’;
cfg.Hardware.RemoteDeviceAddress = ‘XXX.XXX.XXX.XXX’;
cfg.Hardware.RemoteDeviceUsername = ‘XXXX’;
cfg.Hardware.RemoteDevicePassword = ‘XXXXX’;
cfg.Hardware.DeployTo = ‘Remote Device’;
cfg.Hardware.ROS2Folder = ‘/opt/ros/galactic’;
cfg.Hardware.ROS2Workspace = ‘~/uavrt_ws’;
cfg.HardwareImplementation.ProdHWDeviceType = ‘Intel->x86-64 (Linux 64)’;
cfg.RuntimeChecks = true;%Disable for final deployments.
codegen multirate_tag_sorter_test_simple -args {} -config cfg
The error message
>> multirate_tag_sorter_test_codegen_script
??? Expected a parameter name.
Error in ==> multirate_tag_sorter_test_simple Line: 7 Column: 9
Code generation failed: View Error Report
Error using codegen
Error in multirate_tag_sorter_test_codegen_script (line 22)
codegen multirate_tag_sorter_test_simple -args {} -config cfg ros2, ros2subscriber, callback, codegen MATLAB Answers — New Questions
Intro to Azure OpenAI
Join our Online Webinar: Intro to Azure OpenAI
We will deep dive into Azure OpenAI with a focus on:
This event is for everyone looking to start with Azure OpenAI or enhance their knowledge in our 4 hour exciting interaction ! Good to have an Azure Subscription for Hands On Labs!
Agenta:
Introduction to Azure OpenAI Service
Using Models and Key Concepts
Promt Engineering-Content Filtering-Embeddings
Text and Code Completions
Security – High Availability & Responsible AI
We are excited to have you with us !
Good to have an Azure Subscription for Hands On Labs!
Join our Online Webinar: Intro to Azure OpenAIWe will deep dive into Azure OpenAI with a focus on: This event is for everyone looking to start with Azure OpenAI or enhance their knowledge in our 4 hour exciting interaction ! Good to have an Azure Subscription for Hands On Labs!Agenta:Introduction to Azure OpenAI ServiceUsing Models and Key ConceptsPromt Engineering-Content Filtering-EmbeddingsText and Code CompletionsSecurity – High Availability & Responsible AIWe are excited to have you with us !Good to have an Azure Subscription for Hands On Labs! Read More
Access to assets from Immersive Experience
Hello,
There is some asset in immersive experience like a chair where you can seat or sound isolation space / sound bareer.
Are they existing as prefab in Mesh ? I wasn’t able to find them in any sample.
As well is there a way to spatialize the audio from a webslate ?
Thanks
Hello, There is some asset in immersive experience like a chair where you can seat or sound isolation space / sound bareer.Are they existing as prefab in Mesh ? I wasn’t able to find them in any sample.As well is there a way to spatialize the audio from a webslate ? Thanks Read More
Index exceeds matrix dimensions. Error in gtc21 (line 21) outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2);
Index exceeds matrix dimensions.
Error in gtc21 (line 21)
outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2);Index exceeds matrix dimensions.
Error in gtc21 (line 21)
outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2); Index exceeds matrix dimensions.
Error in gtc21 (line 21)
outputBits = mod(sum(shiftedValues(generatorPolynomials)), 2); index exceeds matrix dimensions. error in gtc21 ( MATLAB Answers — New Questions
how to generate MATLAB code from Simulink model
Hi,
I have a relatively complex simulink model, from which a MATLAB code must be generated. I want to use the generated code in App designer to develop an app and finally compile the app using `Application Compiler`, so that it can be used on every system without having MATLAB installed.
The process can be summed up as the following:
Simulink –> MATLAB code (.m) –> App Designer –> Application compiler (.exe)Hi,
I have a relatively complex simulink model, from which a MATLAB code must be generated. I want to use the generated code in App designer to develop an app and finally compile the app using `Application Compiler`, so that it can be used on every system without having MATLAB installed.
The process can be summed up as the following:
Simulink –> MATLAB code (.m) –> App Designer –> Application compiler (.exe) Hi,
I have a relatively complex simulink model, from which a MATLAB code must be generated. I want to use the generated code in App designer to develop an app and finally compile the app using `Application Compiler`, so that it can be used on every system without having MATLAB installed.
The process can be summed up as the following:
Simulink –> MATLAB code (.m) –> App Designer –> Application compiler (.exe) code generation, simulink, app designer MATLAB Answers — New Questions
Why do I get such different values for R, G and B for very similar photos?
I previously asked this question here. .Since then I have been finding answers little by little to the doubts that have arisen.
In short, I am applying a mask to a series of photos of a sample which is changing color over time. From each of these photos I am measuring the mean R, G and B values within the mask and then transforming them to L, a and b, and finally obtaining the Delta E values between each photo and the first one.
At first, with small samples, everything worked well, and I was able to obtain graphs like the following:
these from samples such as the following:
However, then, using larger samples, I am getting values like the following:
As I said, the only thing I did was to increase the sample size (plus change the time between each photo from about three per second to one per second, and increase the total number of photos by almost 2000).
The origin of the problem seems to be in the measurement of the values of R, G and B, because from these I did the rest of the calculations. For the large sample, where the error occurs, the values of R, G and B go up and down drastically in a strange way from photo 100 to 1800, more or less.
I checked photo 98, 99, 100 and 101 and at first sight they are identical, so the error is not born (apparently) from the analyzed photos.
These are the photos when all start to fail.
I use two codes, the first one (made by Data Analyst, shared by himself in one of the links I put in my first question) to make the mask and verify that it has a correct shape and size. And the second one to apply this mask to each of the photos of the sample and obtain from this process the values of R, G, B, L, a, b and Delta E. Finally, I also use another one to make the graphs. I share them in case you need to see them.
So, what could be going on, why from two very similar photos do you get values for R, G and B that do not make sense, why with the other sample does this error not occur?
It is worth to say that analyzing the photos 100 and 101 (where the delivered data go crazy) in the first code (the one that creates the mask) i get similar values for R, G and B, nothing like the ones delivered by the second code. So it is likely that the error has to do with the precision used for the numbers (and not with the code itself, as it was used for the small sample correctly) in addition to the fact that as the color change is more gradual in this large sample, the values from photo to photo are more similar. If the error arises from here, could you help me to correct it? I tried to make some changes but the error persisted, and I’m not very good at programming without the help of AI (my bad).
Thanks in advance!I previously asked this question here. .Since then I have been finding answers little by little to the doubts that have arisen.
In short, I am applying a mask to a series of photos of a sample which is changing color over time. From each of these photos I am measuring the mean R, G and B values within the mask and then transforming them to L, a and b, and finally obtaining the Delta E values between each photo and the first one.
At first, with small samples, everything worked well, and I was able to obtain graphs like the following:
these from samples such as the following:
However, then, using larger samples, I am getting values like the following:
As I said, the only thing I did was to increase the sample size (plus change the time between each photo from about three per second to one per second, and increase the total number of photos by almost 2000).
The origin of the problem seems to be in the measurement of the values of R, G and B, because from these I did the rest of the calculations. For the large sample, where the error occurs, the values of R, G and B go up and down drastically in a strange way from photo 100 to 1800, more or less.
I checked photo 98, 99, 100 and 101 and at first sight they are identical, so the error is not born (apparently) from the analyzed photos.
These are the photos when all start to fail.
I use two codes, the first one (made by Data Analyst, shared by himself in one of the links I put in my first question) to make the mask and verify that it has a correct shape and size. And the second one to apply this mask to each of the photos of the sample and obtain from this process the values of R, G, B, L, a, b and Delta E. Finally, I also use another one to make the graphs. I share them in case you need to see them.
So, what could be going on, why from two very similar photos do you get values for R, G and B that do not make sense, why with the other sample does this error not occur?
It is worth to say that analyzing the photos 100 and 101 (where the delivered data go crazy) in the first code (the one that creates the mask) i get similar values for R, G and B, nothing like the ones delivered by the second code. So it is likely that the error has to do with the precision used for the numbers (and not with the code itself, as it was used for the small sample correctly) in addition to the fact that as the color change is more gradual in this large sample, the values from photo to photo are more similar. If the error arises from here, could you help me to correct it? I tried to make some changes but the error persisted, and I’m not very good at programming without the help of AI (my bad).
Thanks in advance! I previously asked this question here. .Since then I have been finding answers little by little to the doubts that have arisen.
In short, I am applying a mask to a series of photos of a sample which is changing color over time. From each of these photos I am measuring the mean R, G and B values within the mask and then transforming them to L, a and b, and finally obtaining the Delta E values between each photo and the first one.
At first, with small samples, everything worked well, and I was able to obtain graphs like the following:
these from samples such as the following:
However, then, using larger samples, I am getting values like the following:
As I said, the only thing I did was to increase the sample size (plus change the time between each photo from about three per second to one per second, and increase the total number of photos by almost 2000).
The origin of the problem seems to be in the measurement of the values of R, G and B, because from these I did the rest of the calculations. For the large sample, where the error occurs, the values of R, G and B go up and down drastically in a strange way from photo 100 to 1800, more or less.
I checked photo 98, 99, 100 and 101 and at first sight they are identical, so the error is not born (apparently) from the analyzed photos.
These are the photos when all start to fail.
I use two codes, the first one (made by Data Analyst, shared by himself in one of the links I put in my first question) to make the mask and verify that it has a correct shape and size. And the second one to apply this mask to each of the photos of the sample and obtain from this process the values of R, G, B, L, a, b and Delta E. Finally, I also use another one to make the graphs. I share them in case you need to see them.
So, what could be going on, why from two very similar photos do you get values for R, G and B that do not make sense, why with the other sample does this error not occur?
It is worth to say that analyzing the photos 100 and 101 (where the delivered data go crazy) in the first code (the one that creates the mask) i get similar values for R, G and B, nothing like the ones delivered by the second code. So it is likely that the error has to do with the precision used for the numbers (and not with the code itself, as it was used for the small sample correctly) in addition to the fact that as the color change is more gradual in this large sample, the values from photo to photo are more similar. If the error arises from here, could you help me to correct it? I tried to make some changes but the error persisted, and I’m not very good at programming without the help of AI (my bad).
Thanks in advance! image analysis, image processing, image acquisition MATLAB Answers — New Questions
Add together two stem plots
I am trying to add together stem plots. I am getting an error on using + to do this. I am unsure how I am meant to add them together as they work individually. I am trying to take Add1 and Add2 and add them in Total, then take the impulse using yimp and plot that result. Thank you for your time!
%Parameters
fs = 16e3;
t = 0:(1/fs):0.03;
t = t(:); % ensure column vector
numFilts = 32;
filter_number = 10;
range = [50 8000];
gammaFiltBank = gammatoneFilterBank(range,numFilts,fs); % set fs explicity
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = gammaFiltBank(input_signal);
figure %1
stem(t,output_signal(:,filter_number));
title(‘Output of Filter’, num2str(filter_number))
impulse_input = 0*t;
impulse_input(1) = 1;
reset(gammaFiltBank); % IMPORTANT!
yimp = gammaFiltBank(impulse_input);
%Add together outputs of specific filters
filter_number2=12;
Add1=stem(t,output_signal(:,filter_number));
Add2=stem(t,output_signal(:,filter_number2));
Total=Add1 + Add2;
stem(t,yimp(:,Total))
title(‘Impulse of’, num2str(filter_number), ‘plus’, num2str(filter_number2))I am trying to add together stem plots. I am getting an error on using + to do this. I am unsure how I am meant to add them together as they work individually. I am trying to take Add1 and Add2 and add them in Total, then take the impulse using yimp and plot that result. Thank you for your time!
%Parameters
fs = 16e3;
t = 0:(1/fs):0.03;
t = t(:); % ensure column vector
numFilts = 32;
filter_number = 10;
range = [50 8000];
gammaFiltBank = gammatoneFilterBank(range,numFilts,fs); % set fs explicity
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = gammaFiltBank(input_signal);
figure %1
stem(t,output_signal(:,filter_number));
title(‘Output of Filter’, num2str(filter_number))
impulse_input = 0*t;
impulse_input(1) = 1;
reset(gammaFiltBank); % IMPORTANT!
yimp = gammaFiltBank(impulse_input);
%Add together outputs of specific filters
filter_number2=12;
Add1=stem(t,output_signal(:,filter_number));
Add2=stem(t,output_signal(:,filter_number2));
Total=Add1 + Add2;
stem(t,yimp(:,Total))
title(‘Impulse of’, num2str(filter_number), ‘plus’, num2str(filter_number2)) I am trying to add together stem plots. I am getting an error on using + to do this. I am unsure how I am meant to add them together as they work individually. I am trying to take Add1 and Add2 and add them in Total, then take the impulse using yimp and plot that result. Thank you for your time!
%Parameters
fs = 16e3;
t = 0:(1/fs):0.03;
t = t(:); % ensure column vector
numFilts = 32;
filter_number = 10;
range = [50 8000];
gammaFiltBank = gammatoneFilterBank(range,numFilts,fs); % set fs explicity
input_signal = sin(2*pi*100*t) + sin(2*pi*300*t);
output_signal = gammaFiltBank(input_signal);
figure %1
stem(t,output_signal(:,filter_number));
title(‘Output of Filter’, num2str(filter_number))
impulse_input = 0*t;
impulse_input(1) = 1;
reset(gammaFiltBank); % IMPORTANT!
yimp = gammaFiltBank(impulse_input);
%Add together outputs of specific filters
filter_number2=12;
Add1=stem(t,output_signal(:,filter_number));
Add2=stem(t,output_signal(:,filter_number2));
Total=Add1 + Add2;
stem(t,yimp(:,Total))
title(‘Impulse of’, num2str(filter_number), ‘plus’, num2str(filter_number2)) stem, plot, addition, plus MATLAB Answers — New Questions
Client needs a “license” to see our app icon?
Hello, all. A new client of ours is trying to implement our app and sent us this:
Has anyone seen this? I searched the forum but didn’t find a lot.
Thanks in advance.
Hello, all. A new client of ours is trying to implement our app and sent us this: Has anyone seen this? I searched the forum but didn’t find a lot. Thanks in advance. Read More
XLOOKUP wildcard matching issue
Hello,
I can’t figure out why the XLOOKUP formula in the attached file is returning only 1 match when there should be 3. Any ideas?
Hello, I can’t figure out why the XLOOKUP formula in the attached file is returning only 1 match when there should be 3. Any ideas? Read More
How to merge and smooth multiple curves in a plot, if there are discrete points?
I have a graph, containing 4 different types of curves, in 5 frequency regions, overall 20 curves in a single graph. At some points, the curves meet, however at some points, the curves are super distant from the following one. I applied brushing, but still have discontinuities.
(Keeping the color coding) I need to merge them and smooth the sharp and points. How can I do this?
I uploaded the fig file. I have the excel data if needed.
Best
( 1. I failed to utilize link in figure properties 2. I tried to gather the data in excel, and delete the meeting points, it also didnt work)I have a graph, containing 4 different types of curves, in 5 frequency regions, overall 20 curves in a single graph. At some points, the curves meet, however at some points, the curves are super distant from the following one. I applied brushing, but still have discontinuities.
(Keeping the color coding) I need to merge them and smooth the sharp and points. How can I do this?
I uploaded the fig file. I have the excel data if needed.
Best
( 1. I failed to utilize link in figure properties 2. I tried to gather the data in excel, and delete the meeting points, it also didnt work) I have a graph, containing 4 different types of curves, in 5 frequency regions, overall 20 curves in a single graph. At some points, the curves meet, however at some points, the curves are super distant from the following one. I applied brushing, but still have discontinuities.
(Keeping the color coding) I need to merge them and smooth the sharp and points. How can I do this?
I uploaded the fig file. I have the excel data if needed.
Best
( 1. I failed to utilize link in figure properties 2. I tried to gather the data in excel, and delete the meeting points, it also didnt work) merging curves, smoothing curves, discontinuity solving, managing multiple curves in a single graph MATLAB Answers — New Questions
Teams Phone is not working, Microsoft has changed naming convention again
Hello
Please i need your help on this issue.
One of our customer is having an issue where “Teams Phone is not working, Microsoft has changed naming convention again.” They mention that the phone was previously working.
Hello Please i need your help on this issue. One of our customer is having an issue where “Teams Phone is not working, Microsoft has changed naming convention again.” They mention that the phone was previously working. Read More
sum
I have a spread sheet of 461rows. I went to the bottom and in row B I put in the following – =SUM(A3:A461).
At this time there are no numbers in that row – I have rows to the right that do and I was going to put that formula in those rows as well.
However, when I click away from where I put the formula1965352 comes up. I put the same formula in the C row, which has numbers in it, and the same 1865352 comes up.
Help. – jb
I have a spread sheet of 461rows. I went to the bottom and in row B I put in the following – =SUM(A3:A461). At this time there are no numbers in that row – I have rows to the right that do and I was going to put that formula in those rows as well. However, when I click away from where I put the formula1965352 comes up. I put the same formula in the C row, which has numbers in it, and the same 1865352 comes up. Help. – jb Read More
Shadow Copy Configuration
On one of my Windows 2019 servers,
1. The shadow copy of D: drive is configured on my C: drive.
2. The shadow copy of my C: drive is configured on my H: drive
3. The shadow copy of my H: drive is also configured on my H: drive
If I try to change the configuration through the UI, the option is greyed out.
Which all other ways are there I can reconfigure the shadow copies like,
C: drive shadow copies on C: drive
D: drive shadow copies on D: drive???
Also, if I try to run “vssadmin list shadowstorage”, it does not give me the association ID.
On one of my Windows 2019 servers,1. The shadow copy of D: drive is configured on my C: drive. 2. The shadow copy of my C: drive is configured on my H: drive3. The shadow copy of my H: drive is also configured on my H: driveIf I try to change the configuration through the UI, the option is greyed out.Which all other ways are there I can reconfigure the shadow copies like,C: drive shadow copies on C: driveD: drive shadow copies on D: drive???Also, if I try to run “vssadmin list shadowstorage”, it does not give me the association ID. Read More
Multiple Orgs one monitored with Comp Portal
Going to try best to explain this. I have my own domain and 365 business account using entune and all we’ll say account A. A client (account B) requires me to have Comp Portal and download webex from it.
I opened OneNote and a message appeared that the organization is now managing that. If within one note I’m under account A which is my own domain, can account B which requires Comp Portal to access WebEx see my stuff in apps under account A?
Going to try best to explain this. I have my own domain and 365 business account using entune and all we’ll say account A. A client (account B) requires me to have Comp Portal and download webex from it. I opened OneNote and a message appeared that the organization is now managing that. If within one note I’m under account A which is my own domain, can account B which requires Comp Portal to access WebEx see my stuff in apps under account A? Read More
Excel formula not returning expected results
Out of curiosity, I manually checked the formula in the first screenshot below and got a different result. (As you see, the formula returned $49,515.63, while my manual check returned $49,015.63, as you see in the last screenshot below. A $500 difference.
Can anyone explain what’s going on? I’d appreciate any insight!
To check the formula, I went to the List of Transactions tab and did the following:
Column G: Set the filter to ≥ 0 (per screenshot below) Column J: Set the filter to show only “R” (screenshot below)
Column G: Noted the total (screenshot below)
Checked the line numbers to ensure that all of them are ≥3 and ≤ 316, which they are
Out of curiosity, I manually checked the formula in the first screenshot below and got a different result. (As you see, the formula returned $49,515.63, while my manual check returned $49,015.63, as you see in the last screenshot below. A $500 difference. Can anyone explain what’s going on? I’d appreciate any insight! To check the formula, I went to the List of Transactions tab and did the following:Column G: Set the filter to ≥ 0 (per screenshot below) Column J: Set the filter to show only “R” (screenshot below)Column G: Noted the total (screenshot below) Checked the line numbers to ensure that all of them are ≥3 and ≤ 316, which they are Read More
How can I find water surface temperature from landsat-9 bands?
I would like to find water surface temperature by using Lansat-9 bands.
Thanks in advance,
RiyadhI would like to find water surface temperature by using Lansat-9 bands.
Thanks in advance,
Riyadh I would like to find water surface temperature by using Lansat-9 bands.
Thanks in advance,
Riyadh water surface temperature, using landsat-9 bands MATLAB Answers — New Questions
How to fix “Error using indexing” while calculating differential equations?
syms y(t)
ode = diff(y,t) == t*y
ySol(t) = dsolve(ode)
I copied this example straight from the MatLAB "Solve differential equations" > "First-Order Linear ODE" -example and hoped to modify it to solve my own equation, but it gives me an error message of "Error using indexing: Invalid argument at position 2. Symbolic function expected 1 input arguments but received 2.". I have no clue how to fix it, so help would be kindly appreciated.syms y(t)
ode = diff(y,t) == t*y
ySol(t) = dsolve(ode)
I copied this example straight from the MatLAB "Solve differential equations" > "First-Order Linear ODE" -example and hoped to modify it to solve my own equation, but it gives me an error message of "Error using indexing: Invalid argument at position 2. Symbolic function expected 1 input arguments but received 2.". I have no clue how to fix it, so help would be kindly appreciated. syms y(t)
ode = diff(y,t) == t*y
ySol(t) = dsolve(ode)
I copied this example straight from the MatLAB "Solve differential equations" > "First-Order Linear ODE" -example and hoped to modify it to solve my own equation, but it gives me an error message of "Error using indexing: Invalid argument at position 2. Symbolic function expected 1 input arguments but received 2.". I have no clue how to fix it, so help would be kindly appreciated. indexing, error, differential equations MATLAB Answers — New Questions