Month: September 2024
Generating a cosine wave with variable frequency where frequency is an output from a lookup table
I am trying to generate a sine/cosine wave with a variable frequency. Here’s how I did it.
I took a PN sequence generator with samples per frame 3 and converted those three samples in 1 frame to a decimal number by a MATLAB function block and passes it to a lookup table (1-D) as breakup points [0;1;2;3;4;5;6;7] and gave some data [100;200;300;400;500;600;700;800]. This data is given to a MATLAB function block which takes the values of the lookup table and time from clock block and gives me the result cos(2*pi*f*t). Atleast, this is what it looks like. But, when I ran it oscilloscope haven’t shown me any cosine waves rather, it showed me a constant signal of 1 unit.I am trying to generate a sine/cosine wave with a variable frequency. Here’s how I did it.
I took a PN sequence generator with samples per frame 3 and converted those three samples in 1 frame to a decimal number by a MATLAB function block and passes it to a lookup table (1-D) as breakup points [0;1;2;3;4;5;6;7] and gave some data [100;200;300;400;500;600;700;800]. This data is given to a MATLAB function block which takes the values of the lookup table and time from clock block and gives me the result cos(2*pi*f*t). Atleast, this is what it looks like. But, when I ran it oscilloscope haven’t shown me any cosine waves rather, it showed me a constant signal of 1 unit. I am trying to generate a sine/cosine wave with a variable frequency. Here’s how I did it.
I took a PN sequence generator with samples per frame 3 and converted those three samples in 1 frame to a decimal number by a MATLAB function block and passes it to a lookup table (1-D) as breakup points [0;1;2;3;4;5;6;7] and gave some data [100;200;300;400;500;600;700;800]. This data is given to a MATLAB function block which takes the values of the lookup table and time from clock block and gives me the result cos(2*pi*f*t). Atleast, this is what it looks like. But, when I ran it oscilloscope haven’t shown me any cosine waves rather, it showed me a constant signal of 1 unit. communication, matlab function, 5g, spread sprectrum, simulink MATLAB Answers — New Questions
Standalone mcc app cannot import class within python module
I have an app made via mcc. In this app I need to call a python 2.7 class within a python 2.7 module. I am able to insert the path to the module to the python search path via
insert(py.sys.path, int32(0), PythonModulePath)
I am also able to import the module via
py.importlib.import_module(‘module’)
whose return lists all the correct classes and modules.
but when I try to initialize the class py.module.class(‘init args’) The complied class returns:
Unable to resolve the name py.module.class
MATLAB:undefinedVarOrClass
What is going on here? Why is it unable to identify the class?I have an app made via mcc. In this app I need to call a python 2.7 class within a python 2.7 module. I am able to insert the path to the module to the python search path via
insert(py.sys.path, int32(0), PythonModulePath)
I am also able to import the module via
py.importlib.import_module(‘module’)
whose return lists all the correct classes and modules.
but when I try to initialize the class py.module.class(‘init args’) The complied class returns:
Unable to resolve the name py.module.class
MATLAB:undefinedVarOrClass
What is going on here? Why is it unable to identify the class? I have an app made via mcc. In this app I need to call a python 2.7 class within a python 2.7 module. I am able to insert the path to the module to the python search path via
insert(py.sys.path, int32(0), PythonModulePath)
I am also able to import the module via
py.importlib.import_module(‘module’)
whose return lists all the correct classes and modules.
but when I try to initialize the class py.module.class(‘init args’) The complied class returns:
Unable to resolve the name py.module.class
MATLAB:undefinedVarOrClass
What is going on here? Why is it unable to identify the class? python, mcc, matlab compiler, standalone app MATLAB Answers — New Questions
Steam store won’t play video and appealed black
Hi, MS team. Today I dont understand why but all my video on steam store has not been playing. This doesn’t happen on any other browser such as Chrome, and firefox etc. Only happens to MS edge
As you can see on Chrome it works fine but on Edge it doesnt work
Hi, MS team. Today I dont understand why but all my video on steam store has not been playing. This doesn’t happen on any other browser such as Chrome, and firefox etc. Only happens to MS edge As you can see on Chrome it works fine but on Edge it doesnt work Chrome run fine you can see the audio playback barempty blackno video being shown Read More
Values converting to dates
Hi. Im downloading prices to a csv file. Sometimes it shows dates as some of the prices. How can I avoid it converting to dates?
Hi. Im downloading prices to a csv file. Sometimes it shows dates as some of the prices. How can I avoid it converting to dates? Read More
Higher user rights without special group
Hello everyone,
unfortunately I have found absolutely nothing suitable.
I have a user who can always see and open all folders in the sharepoint. The user cannot change data in the folders.
I am not aware of any group or role that the user should have in contrast to all other users.
Is there a way to display the group memberships of AzureAD and Sharepoint users?
(I can’t find any differences in the normal interfaces).
Can rights come via Exchange Online?
Deputy regulations? If so, where else can I look.
In the meantime, I have even removed all permissions from this sharepoint folder and access is still possible for this user.
Many thanks for your support
Hello everyone,unfortunately I have found absolutely nothing suitable.I have a user who can always see and open all folders in the sharepoint. The user cannot change data in the folders.I am not aware of any group or role that the user should have in contrast to all other users.Is there a way to display the group memberships of AzureAD and Sharepoint users?(I can’t find any differences in the normal interfaces).Can rights come via Exchange Online?Deputy regulations? If so, where else can I look.In the meantime, I have even removed all permissions from this sharepoint folder and access is still possible for this user.Many thanks for your support Read More
Mitre information missing from incident
Greetings
I have a tough time getting the MITRE parsing to work for one of my integrations. It’s a security platform that’s sending incidents to Sentinel using CEF and they arrive into Log Analytics looking like this, it’s been truncated for clarity etc.
Now, in the analytics rule under Alert Details I’ve tried different settings for the tactics and/or techniques using either the mitre_id column or mitre_name but none of those ever show up in the incident.
Does anyone have any pointers on how to get this to work?
/Fredrik
GreetingsI have a tough time getting the MITRE parsing to work for one of my integrations. It’s a security platform that’s sending incidents to Sentinel using CEF and they arrive into Log Analytics looking like this, it’s been truncated for clarity etc.Now, in the analytics rule under Alert Details I’ve tried different settings for the tactics and/or techniques using either the mitre_id column or mitre_name but none of those ever show up in the incident. Does anyone have any pointers on how to get this to work?/Fredrik Read More
ForEach Activity: Immediate Pipeline Failure on Any Child Activity Failure
Hello Azure community,
I’m working with azure data factory and have a pipeline set up with a ForEach activity that runs three activities in parallel:
1. Notebook A
2. Execute Pipeline B
3. Notebook C
My requirements is to ensure that if any one of these activities fails (e.g. Child Activity A or B or C fails after 2mints of pipeline start) the entire pipeline should fail immediately, regardless of the status of other activities (still running).
Could you please guide me on how to achieve this behaviour?
Thank you for assistance!
Hello Azure community, I’m working with azure data factory and have a pipeline set up with a ForEach activity that runs three activities in parallel: 1. Notebook A2. Execute Pipeline B3. Notebook C My requirements is to ensure that if any one of these activities fails (e.g. Child Activity A or B or C fails after 2mints of pipeline start) the entire pipeline should fail immediately, regardless of the status of other activities (still running). Could you please guide me on how to achieve this behaviour? Thank you for assistance! Read More
Mapping 1D vector to 2D area
load xPoints; load yPoints; j=boundary(xPoints,yPoints,0.1); Plot(xPoints(j),yPoints(j))
<</matlabcentral/answers/uploaded_files/1780075/IMG-20240927-WA0011.jpg>>
%How do I map the x-values to y-values here?load xPoints; load yPoints; j=boundary(xPoints,yPoints,0.1); Plot(xPoints(j),yPoints(j))
<</matlabcentral/answers/uploaded_files/1780075/IMG-20240927-WA0011.jpg>>
%How do I map the x-values to y-values here? load xPoints; load yPoints; j=boundary(xPoints,yPoints,0.1); Plot(xPoints(j),yPoints(j))
<</matlabcentral/answers/uploaded_files/1780075/IMG-20240927-WA0011.jpg>>
%How do I map the x-values to y-values here? mapping MATLAB Answers — New Questions
J1939 Network COnfig warnings
I know the databases I am using are correct….however, seems like when I try to attach a dbc file to my simulink model, I’ll get a warning that the dbc file MAY NOT be a valid J1939 database……
again, sometimes I get the message and simulink WILL NOT select the database during config……but other times, I CAN SELECT the same database and get no warnings…???????I know the databases I am using are correct….however, seems like when I try to attach a dbc file to my simulink model, I’ll get a warning that the dbc file MAY NOT be a valid J1939 database……
again, sometimes I get the message and simulink WILL NOT select the database during config……but other times, I CAN SELECT the same database and get no warnings…??????? I know the databases I am using are correct….however, seems like when I try to attach a dbc file to my simulink model, I’ll get a warning that the dbc file MAY NOT be a valid J1939 database……
again, sometimes I get the message and simulink WILL NOT select the database during config……but other times, I CAN SELECT the same database and get no warnings…??????? j1939 network cnfig bug? MATLAB Answers — New Questions
Export Timetable data to Excel
I have a lot of rainfall data which has been uploaded to thingspeak. I want to download some of that data and analyse it in Excel. I was hoping to use the MATLab analysis to do this.
Bearing in mind I am fairly new to this and programming isn’t my thing.
I was hoping to use the following code which as far as I understand extracts the data in TimeTable format and then use the writetimetable function to create an Excel spreadsheet. When I run it it extracts the data and displays it as I want without error but I don’t know what happens to the xlsx file.
I’m probably missing something
readChannelID = ******;
readAPIKey = ‘******’;
RainFieldID = 1;
RainFall = thingSpeakRead(readChannelID,’Fields’,RainFieldID,’NumDays’,7,’ReadKey’,readAPIKey,OutputFormat=’TimeTable’);
display(RainFall,’Rainfall’);
writetimetable(RainFall,’TT.xlsx’)I have a lot of rainfall data which has been uploaded to thingspeak. I want to download some of that data and analyse it in Excel. I was hoping to use the MATLab analysis to do this.
Bearing in mind I am fairly new to this and programming isn’t my thing.
I was hoping to use the following code which as far as I understand extracts the data in TimeTable format and then use the writetimetable function to create an Excel spreadsheet. When I run it it extracts the data and displays it as I want without error but I don’t know what happens to the xlsx file.
I’m probably missing something
readChannelID = ******;
readAPIKey = ‘******’;
RainFieldID = 1;
RainFall = thingSpeakRead(readChannelID,’Fields’,RainFieldID,’NumDays’,7,’ReadKey’,readAPIKey,OutputFormat=’TimeTable’);
display(RainFall,’Rainfall’);
writetimetable(RainFall,’TT.xlsx’) I have a lot of rainfall data which has been uploaded to thingspeak. I want to download some of that data and analyse it in Excel. I was hoping to use the MATLab analysis to do this.
Bearing in mind I am fairly new to this and programming isn’t my thing.
I was hoping to use the following code which as far as I understand extracts the data in TimeTable format and then use the writetimetable function to create an Excel spreadsheet. When I run it it extracts the data and displays it as I want without error but I don’t know what happens to the xlsx file.
I’m probably missing something
readChannelID = ******;
readAPIKey = ‘******’;
RainFieldID = 1;
RainFall = thingSpeakRead(readChannelID,’Fields’,RainFieldID,’NumDays’,7,’ReadKey’,readAPIKey,OutputFormat=’TimeTable’);
display(RainFall,’Rainfall’);
writetimetable(RainFall,’TT.xlsx’) timetable, excel MATLAB Answers — New Questions
Matlab crashes when Intel MKL’s function Pardiso is called
Hello everyone!
I am currently working with Matlab R2021b on Ubuntu 22.04. I am writing a program that will solve linear sparse system of equations, and I am trying to solve it with Pardiso function from Intel MKL library.
I have successfully compiled Mex file in C (that is calling Pardiso function); however when I call Mex file, Matlab crashes without any output or message.
I am using GCC to compile my Mex file. This is the code for compilation:
mex CFLAGS="$CFLAGS -m64" LDFLAGS="$LDFLAGS -m64" pardiso_sparse.c -I/opt/intel/oneapi/mkl/2024.2/include -L/opt/intel/oneapi/mkl/2024.2/lib -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl
Here is the Mex file itself. It is quite short:
#include "mex.h"
#include "math.h"
#include "matrix.h"
#include "stdint.h"
#include "mkl.h"
/*#define PARDISO_MAX_SIZE 64*/
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
double *vals, *RG;
int32_t *rows, *cols;
int32_t n;
// input
vals = mxGetPr(prhs[0]);
rows = (int32_t*) mxGetData(prhs[1]);
cols = (int32_t*) mxGetData(prhs[2]);
RG = mxGetPr(prhs[3]);
n = (int32_t) mxGetScalar(prhs[4]);
// Create the output solution vector x (n x 1)
plhs[0] = mxCreateDoubleMatrix(n, 1, mxREAL);
double *sol = mxGetPr(plhs[0]);
// PARDISO control parameters
void *pt[64] = {0}; // Internal solver memory pointer
MKL_INT iparm[64] ; // Control parameters
MKL_INT maxfct = 1, mnum = 1, phase, error = 0, msglvl = 1;
MKL_INT mtype = 2; // Real symmetric matrix
MKL_INT n_mkl = (MKL_INT)n;
MKL_INT nrhs_mkl = 1; // Number of right-hand sides (for solving Ax=b)
MKL_INT idum; // Dummy integer used for PARDISO
double ddum;
// Initialize PARDISO control parameters to default
iparm[0] = 0; // Use default PARDISO parameters
// Step 1: Reordering and symbolic factorization
printf("Analysis is running!");
phase = 11;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, NULL, NULL, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during symbolic factorization: %d", error);
}
printf("First phase done!");
// Step 2: Numerical factorization
phase = 22;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during numerical factorization: %d", error);
}
printf("Second phase done!");
// Step 3: Solve and iterative refinement
phase = 33;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, RG, sol, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during solution: %d", error);
}
printf("Thrid phase done!");
// Step 4: Release internal memory
phase = -1;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, &ddum, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
}
Can anyone give me a solution to this? I’ve been trying to run this code for more than a week!
AnteHello everyone!
I am currently working with Matlab R2021b on Ubuntu 22.04. I am writing a program that will solve linear sparse system of equations, and I am trying to solve it with Pardiso function from Intel MKL library.
I have successfully compiled Mex file in C (that is calling Pardiso function); however when I call Mex file, Matlab crashes without any output or message.
I am using GCC to compile my Mex file. This is the code for compilation:
mex CFLAGS="$CFLAGS -m64" LDFLAGS="$LDFLAGS -m64" pardiso_sparse.c -I/opt/intel/oneapi/mkl/2024.2/include -L/opt/intel/oneapi/mkl/2024.2/lib -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl
Here is the Mex file itself. It is quite short:
#include "mex.h"
#include "math.h"
#include "matrix.h"
#include "stdint.h"
#include "mkl.h"
/*#define PARDISO_MAX_SIZE 64*/
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
double *vals, *RG;
int32_t *rows, *cols;
int32_t n;
// input
vals = mxGetPr(prhs[0]);
rows = (int32_t*) mxGetData(prhs[1]);
cols = (int32_t*) mxGetData(prhs[2]);
RG = mxGetPr(prhs[3]);
n = (int32_t) mxGetScalar(prhs[4]);
// Create the output solution vector x (n x 1)
plhs[0] = mxCreateDoubleMatrix(n, 1, mxREAL);
double *sol = mxGetPr(plhs[0]);
// PARDISO control parameters
void *pt[64] = {0}; // Internal solver memory pointer
MKL_INT iparm[64] ; // Control parameters
MKL_INT maxfct = 1, mnum = 1, phase, error = 0, msglvl = 1;
MKL_INT mtype = 2; // Real symmetric matrix
MKL_INT n_mkl = (MKL_INT)n;
MKL_INT nrhs_mkl = 1; // Number of right-hand sides (for solving Ax=b)
MKL_INT idum; // Dummy integer used for PARDISO
double ddum;
// Initialize PARDISO control parameters to default
iparm[0] = 0; // Use default PARDISO parameters
// Step 1: Reordering and symbolic factorization
printf("Analysis is running!");
phase = 11;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, NULL, NULL, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during symbolic factorization: %d", error);
}
printf("First phase done!");
// Step 2: Numerical factorization
phase = 22;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during numerical factorization: %d", error);
}
printf("Second phase done!");
// Step 3: Solve and iterative refinement
phase = 33;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, RG, sol, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during solution: %d", error);
}
printf("Thrid phase done!");
// Step 4: Release internal memory
phase = -1;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, &ddum, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
}
Can anyone give me a solution to this? I’ve been trying to run this code for more than a week!
Ante Hello everyone!
I am currently working with Matlab R2021b on Ubuntu 22.04. I am writing a program that will solve linear sparse system of equations, and I am trying to solve it with Pardiso function from Intel MKL library.
I have successfully compiled Mex file in C (that is calling Pardiso function); however when I call Mex file, Matlab crashes without any output or message.
I am using GCC to compile my Mex file. This is the code for compilation:
mex CFLAGS="$CFLAGS -m64" LDFLAGS="$LDFLAGS -m64" pardiso_sparse.c -I/opt/intel/oneapi/mkl/2024.2/include -L/opt/intel/oneapi/mkl/2024.2/lib -lmkl_intel_lp64 -lmkl_gnu_thread -lmkl_core -lgomp -lpthread -lm -ldl
Here is the Mex file itself. It is quite short:
#include "mex.h"
#include "math.h"
#include "matrix.h"
#include "stdint.h"
#include "mkl.h"
/*#define PARDISO_MAX_SIZE 64*/
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
double *vals, *RG;
int32_t *rows, *cols;
int32_t n;
// input
vals = mxGetPr(prhs[0]);
rows = (int32_t*) mxGetData(prhs[1]);
cols = (int32_t*) mxGetData(prhs[2]);
RG = mxGetPr(prhs[3]);
n = (int32_t) mxGetScalar(prhs[4]);
// Create the output solution vector x (n x 1)
plhs[0] = mxCreateDoubleMatrix(n, 1, mxREAL);
double *sol = mxGetPr(plhs[0]);
// PARDISO control parameters
void *pt[64] = {0}; // Internal solver memory pointer
MKL_INT iparm[64] ; // Control parameters
MKL_INT maxfct = 1, mnum = 1, phase, error = 0, msglvl = 1;
MKL_INT mtype = 2; // Real symmetric matrix
MKL_INT n_mkl = (MKL_INT)n;
MKL_INT nrhs_mkl = 1; // Number of right-hand sides (for solving Ax=b)
MKL_INT idum; // Dummy integer used for PARDISO
double ddum;
// Initialize PARDISO control parameters to default
iparm[0] = 0; // Use default PARDISO parameters
// Step 1: Reordering and symbolic factorization
printf("Analysis is running!");
phase = 11;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, NULL, NULL, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during symbolic factorization: %d", error);
}
printf("First phase done!");
// Step 2: Numerical factorization
phase = 22;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during numerical factorization: %d", error);
}
printf("Second phase done!");
// Step 3: Solve and iterative refinement
phase = 33;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, vals, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, RG, sol, &error);
if (error != 0) {
mexErrMsgIdAndTxt("MATLAB:mexfile:pardisoError", "Error during solution: %d", error);
}
printf("Thrid phase done!");
// Step 4: Release internal memory
phase = -1;
pardiso(pt, &maxfct, &mnum, &mtype, &phase, &n_mkl, &ddum, (MKL_INT *)rows, (MKL_INT *)cols, &idum, &nrhs_mkl,
iparm, &msglvl, &ddum, &ddum, &error);
}
Can anyone give me a solution to this? I’ve been trying to run this code for more than a week!
Ante matlab, intel mkl, sparse, mex compiler, ubuntu MATLAB Answers — New Questions
Issues making changes to Booking Appointment Services
Hi,
A quick question regarding ‘Services’ on Booking Appointments.
When we have made changes, this does not seem to take any affect on the booking page.
We have cleared cache and it still seems to be happening.
Does anyone have any advice on this or know what is happening here?
I do not want to log a ticket with Microsoft yet, as I want to see if anyone else has experienced this.
If you have any questions, please do not hesitate to contact us.
Kind Regards
Grace
Hi, A quick question regarding ‘Services’ on Booking Appointments.When we have made changes, this does not seem to take any affect on the booking page.We have cleared cache and it still seems to be happening. Does anyone have any advice on this or know what is happening here?I do not want to log a ticket with Microsoft yet, as I want to see if anyone else has experienced this.If you have any questions, please do not hesitate to contact us. Kind RegardsGrace Read More
Powerpoint Copilot generates unrelated and nonsensical slides
I have been using Copilot for Office in a case that seemed perfect, namely generating slides in PowerPoint from a Word document.
I got quite strange results, i.e., the first version of the slides is good, if I then ask for a modification such as reducing the number of slides (which Copilot in the chat seems to have understood correctly), the result was repeatedly the same, i.e., it proposes me nonsensical slides about… the history of Istanbul (!?!).
I don’t have any material on Istanbul nor have I ever researched it, so I think (I hope) that it is some kind of Easter Egg popping up when Copilot doesn’t understand the command, otherwise it would be a really serious problem. In the screenshots you can see that Copilot interpreted the command correctly, but the result is completely wrong.
I repeated the same sequence several times, starting from scratch, and the result was always the same, i.e., slides about Istanbul.
What’s happening here?
I have been using Copilot for Office in a case that seemed perfect, namely generating slides in PowerPoint from a Word document.I got quite strange results, i.e., the first version of the slides is good, if I then ask for a modification such as reducing the number of slides (which Copilot in the chat seems to have understood correctly), the result was repeatedly the same, i.e., it proposes me nonsensical slides about… the history of Istanbul (!?!).I don’t have any material on Istanbul nor have I ever researched it, so I think (I hope) that it is some kind of Easter Egg popping up when Copilot doesn’t understand the command, otherwise it would be a really serious problem. In the screenshots you can see that Copilot interpreted the command correctly, but the result is completely wrong.I repeated the same sequence several times, starting from scratch, and the result was always the same, i.e., slides about Istanbul.What’s happening here? Read More
Find the first 12 cells in a row, >=10, and take a Average
Hi all,
I have a challenge with calculating the Average within a row of cells, based on what’s in those cells. I need to find the first 12 cells that are e.g. >=10, and take an average, but ignore cells <10 and move to the next cell if need be.
Any ideas??
Hi all,I have a challenge with calculating the Average within a row of cells, based on what’s in those cells. I need to find the first 12 cells that are e.g. >=10, and take an average, but ignore cells <10 and move to the next cell if need be. Any ideas?? Read More
Data Science & Engineering Copilot – Leverage Advanced AI Machine Learning Models
Are you looking to harness the power of AI to streamline your data science and engineering workflows in healthcare? In our upcoming webinar episode, “ Data Science & Engineering Copilot – Leverage Advanced AI Machine Learning Models for Healthcare,” we’ll showcase how Data Science and Data Engineering Copilot from Microsoft Fabric are transforming the way healthcare organizations manage, analyze, and derive insights from data. These AI-powered copilots enable healthcare teams to streamline complex data engineering pipelines and accelerate the development of advanced data science models.
Data Science Copilot enhances the creation and deployment of machine learning models by offering AI-guided insights and automation for model training, validation, and tuning. This empowers healthcare data scientists to build predictive models faster, aiding in areas such as patient outcome predictions, disease risk assessments, and operational optimizations.
Meanwhile, Data Engineering Copilot simplifies the design, integration, and orchestration of data pipelines, allowing healthcare organizations to efficiently process vast amounts of structured and unstructured data. Whether you’re dealing with patient data, clinical trial results, or operational metrics, this copilot automates repetitive tasks and optimizes data flows, significantly reducing manual effort and improving data accuracy.
Our demos use healthcare data as a real-world example in Partnership with iLink Digital one of our Premier Microsoft Partners.
Microsoft Fabric Services | Microsoft Fabric Partner – i Link Digital (ilink-digital.com)
Join the Webinar on October 21, 2024 (Teams Link)
Overview of Copilot in Fabric – Microsoft Fabric | Microsoft Learn
What is Microsoft Fabric – Microsoft Fabric | Microsoft Learn
Overview of Copilot for Power BI – Power BI | Microsoft Learn
https://learn.microsoft.com/en-us/fabric/get-started/copilot-fabric-data-factory
https://learn.microsoft.com/en-us/fabric/get-started/copilot-notebooks-overview
https://partner.microsoft.com/en-US/case-studies/ilink
Speakers:
Senior Intelligence Technical Specialist, Microsoft
Principal Technology Specialist – Data & Analytics, Microsoft
Chief Architect – Senior Vice President Data & Analytics, iLink Digital
Head of Healthcare and Life Sciences, iLink Digital
Senior Vice President – Analytics and AI, iLink Digital
Microsoft Tech Community – Latest Blogs –Read More
Macro for cutting data, creating a new file with a prescribed filename, with multiple tabs
Hi All,
I have a clever Macro that can take the data in a File table, filter by say, a Region number, cut the data into a new Excel file and save as by Region name (or other preset name) in an output folder. It saves me hours. The challenge I have is that this raw data is all on one tab and therefore so is the output. If I have two tabs of raw data, Sheet1 & Sheet2, and a common column name – i.e Region number on both tabs, has anyone built (or can build a macro) that can do the same as above but for both tabs. So the output would be a series of new files, saved to where I need them, with a file name I can set, cut by Region number, but with two tabs of data for each Region.
Help and thanks!
Hi All,I have a clever Macro that can take the data in a File table, filter by say, a Region number, cut the data into a new Excel file and save as by Region name (or other preset name) in an output folder. It saves me hours. The challenge I have is that this raw data is all on one tab and therefore so is the output. If I have two tabs of raw data, Sheet1 & Sheet2, and a common column name – i.e Region number on both tabs, has anyone built (or can build a macro) that can do the same as above but for both tabs. So the output would be a series of new files, saved to where I need them, with a file name I can set, cut by Region number, but with two tabs of data for each Region.Help and thanks! Read More
how to do edit table type data and do sliding window in matlab
I have imported excel file into matlab and stored it as type of table, the file contains customers’ name, number, date of purchase and other such kind of things. now what I to do is to achieve following function in matlab: 1. I can filter specific customer’s record by entering his name 2. the showed records of this specific customer are sliding windows, every unit of the sliding windows is like from day1 to day 10 and next is from day5 to day15. so can anyone help me out ? the only hint I know is to use cell type, but I still don’t know what is the code look likeI have imported excel file into matlab and stored it as type of table, the file contains customers’ name, number, date of purchase and other such kind of things. now what I to do is to achieve following function in matlab: 1. I can filter specific customer’s record by entering his name 2. the showed records of this specific customer are sliding windows, every unit of the sliding windows is like from day1 to day 10 and next is from day5 to day15. so can anyone help me out ? the only hint I know is to use cell type, but I still don’t know what is the code look like I have imported excel file into matlab and stored it as type of table, the file contains customers’ name, number, date of purchase and other such kind of things. now what I to do is to achieve following function in matlab: 1. I can filter specific customer’s record by entering his name 2. the showed records of this specific customer are sliding windows, every unit of the sliding windows is like from day1 to day 10 and next is from day5 to day15. so can anyone help me out ? the only hint I know is to use cell type, but I still don’t know what is the code look like sliding window, cell array, matlab, importing excel data, find function MATLAB Answers — New Questions
Motion of a square
Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help.Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help. Good morning, I am asking for a review of the code that I am leaving as an attachment. The objective of the code should be to take as input the position of 4 points inside the square (integral with respect to the square, fixed in the face). Through an analysis of the variation of the 4 x and y coordinates you want to construct a code that simulates the motion of the square built around these points. What is to appear on the screen will be a black square with 4 fixed white points inside moving in a gray plane. The data with the positions are extracted from a text file that comes from a camera capture. Thank you in advance for your help. motion simulation MATLAB Answers — New Questions
How to get the error in two different curve ?
I have two data set , A1 and B1 are 151 datas ,and A2 and B2 are 98 datas(as the attached file Data.mat).
The image below are the two curves.
<</matlabcentral/answers/uploaded_files/129768/2.jpg>>
<</matlabcentral/answers/uploaded_files/129769/1.jpg>>
Because of the different number of these two data,I can’t subtract each value directly.
Then,How do I get the error between them ?
———————-The following steps are what I did.———————–
1. Using function ‘saveas’ to save these two image.Before saving these image, I had adjusted the X axis and Y axis in these two image to the same scale.
2. Using function ‘imread’ and ‘rgb2gray’ to read these two image and turn them into black and white graphics.
3. Using function ‘imsubtract’ to get the error between them.
——————————————————————————————
There are some disadvantage in this way.
So I want to ask the better way to slove this problem.
Thank you so much !I have two data set , A1 and B1 are 151 datas ,and A2 and B2 are 98 datas(as the attached file Data.mat).
The image below are the two curves.
<</matlabcentral/answers/uploaded_files/129768/2.jpg>>
<</matlabcentral/answers/uploaded_files/129769/1.jpg>>
Because of the different number of these two data,I can’t subtract each value directly.
Then,How do I get the error between them ?
———————-The following steps are what I did.———————–
1. Using function ‘saveas’ to save these two image.Before saving these image, I had adjusted the X axis and Y axis in these two image to the same scale.
2. Using function ‘imread’ and ‘rgb2gray’ to read these two image and turn them into black and white graphics.
3. Using function ‘imsubtract’ to get the error between them.
——————————————————————————————
There are some disadvantage in this way.
So I want to ask the better way to slove this problem.
Thank you so much ! I have two data set , A1 and B1 are 151 datas ,and A2 and B2 are 98 datas(as the attached file Data.mat).
The image below are the two curves.
<</matlabcentral/answers/uploaded_files/129768/2.jpg>>
<</matlabcentral/answers/uploaded_files/129769/1.jpg>>
Because of the different number of these two data,I can’t subtract each value directly.
Then,How do I get the error between them ?
———————-The following steps are what I did.———————–
1. Using function ‘saveas’ to save these two image.Before saving these image, I had adjusted the X axis and Y axis in these two image to the same scale.
2. Using function ‘imread’ and ‘rgb2gray’ to read these two image and turn them into black and white graphics.
3. Using function ‘imsubtract’ to get the error between them.
——————————————————————————————
There are some disadvantage in this way.
So I want to ask the better way to slove this problem.
Thank you so much ! error, two curve MATLAB Answers — New Questions