Month: August 2024
Sizeof double float int etc
Hello there,
I need to know how to find an equivallent function in Matlab to the sizeof function in c++.
For example, in c++ if I write sizeof(double) I would get the amount of memory needed to store a double.
I need something very similar with a matrix now. I will be storing bigger and bigger matrix and I need to find their size in the memory.
Could someone of you please help me?
all best,
:)Hello there,
I need to know how to find an equivallent function in Matlab to the sizeof function in c++.
For example, in c++ if I write sizeof(double) I would get the amount of memory needed to store a double.
I need something very similar with a matrix now. I will be storing bigger and bigger matrix and I need to find their size in the memory.
Could someone of you please help me?
all best,
🙂 Hello there,
I need to know how to find an equivallent function in Matlab to the sizeof function in c++.
For example, in c++ if I write sizeof(double) I would get the amount of memory needed to store a double.
I need something very similar with a matrix now. I will be storing bigger and bigger matrix and I need to find their size in the memory.
Could someone of you please help me?
all best,
🙂 sizeof, memory, size MATLAB Answers — New Questions
To RESHAPE number of elements must not change
Hi all, im trying to do simple ERP study using EEGLAB. To RESHAPE number of elements must not change, such an error messahe was thrown. let me know how to fix it. ThanksHi all, im trying to do simple ERP study using EEGLAB. To RESHAPE number of elements must not change, such an error messahe was thrown. let me know how to fix it. Thanks Hi all, im trying to do simple ERP study using EEGLAB. To RESHAPE number of elements must not change, such an error messahe was thrown. let me know how to fix it. Thanks please help MATLAB Answers — New Questions
MS Teams Feedback/Requests
1) Add the ability for users to choose how long they would like Teams Banner Notifications to be set for; currently the notification disappears too quickly.
2) Allow users to pin more than 15 contacts in the chat window
3) In the People window, there is currently some type of error where if a contact cannot be found in the favorite tab, but is already added in the “all contacts” tab, MS Teams will not let you update, reconcile, delete, update, etc and the Person cannot be added to the Favorite tab.
4) Allow users to create their own chat categories
1) Add the ability for users to choose how long they would like Teams Banner Notifications to be set for; currently the notification disappears too quickly. 2) Allow users to pin more than 15 contacts in the chat window 3) In the People window, there is currently some type of error where if a contact cannot be found in the favorite tab, but is already added in the “all contacts” tab, MS Teams will not let you update, reconcile, delete, update, etc and the Person cannot be added to the Favorite tab. 4) Allow users to create their own chat categories Read More
Sentinel Data collection rule initial setup
I am trying to setup a Data collection rule (common event format (CEF) via AMA) for getting our firewall logs into sentinel via a syslog server, but I am not sure what facility(ies) to use, is there an article about the setup of this (these) rules? I tried doing searches but have found nothing relevant
I am trying to setup a Data collection rule (common event format (CEF) via AMA) for getting our firewall logs into sentinel via a syslog server, but I am not sure what facility(ies) to use, is there an article about the setup of this (these) rules? I tried doing searches but have found nothing relevant Read More
How to grant permissions on behalf of the organization Script
Hello everyone!
We generated a necessary Script to create the API/APP/Service Principal in Entra ID, and assign some delegated and application permissions.
However, I need to grant permission on behalf of the organization for these permissions, during the Script itself.
I have tried several times, in different ways, but all without success.
Does anyone know how this can be done? If it can be done? And could you help me with this?
Thank you all.
Best regards
Hello everyone! We generated a necessary Script to create the API/APP/Service Principal in Entra ID, and assign some delegated and application permissions. However, I need to grant permission on behalf of the organization for these permissions, during the Script itself. I have tried several times, in different ways, but all without success. Does anyone know how this can be done? If it can be done? And could you help me with this? Thank you all.Best regards Read More
Conditional Formatting with Multiple Cell Values
Hello, I am hoping someone know how to help me set up conditional color coding in excel. I am needing certain cells to populate one color if the others cells are filled out wrong and another color if the cells are filled out right.
Example:
If there is a number in cell E and cell H says F1IL and cell J isn’t blank and cell P is blank all these cells turn red.
But if there is a number in cell E and cell H says (anything but F1IL) and cell J is blank and cell P has a number then all these cells turn green.
My goal is to have errors pop up when someone doesn’t fill out the information correctly, but to also not have anything highlighted if there is no information entered on that line.
Thank you for your help!
Hello, I am hoping someone know how to help me set up conditional color coding in excel. I am needing certain cells to populate one color if the others cells are filled out wrong and another color if the cells are filled out right. Example:If there is a number in cell E and cell H says F1IL and cell J isn’t blank and cell P is blank all these cells turn red.But if there is a number in cell E and cell H says (anything but F1IL) and cell J is blank and cell P has a number then all these cells turn green.My goal is to have errors pop up when someone doesn’t fill out the information correctly, but to also not have anything highlighted if there is no information entered on that line. Thank you for your help! Read More
How to datasample exponential data without losing the exponential decay?
Hi all!
So this is the question:
I have a Table with one column (std_spk_avg, attached). This column has 400 numbers. The data follow exponential distribution, so when i normally resample using ‘resample’ function in matlab to obtain 1000 iterations, i lose the exponential decay in each iteration…
How can i code with this function so as not to lose the exponential decay in my 1000 iterations?
Thanks you all in advance :)Hi all!
So this is the question:
I have a Table with one column (std_spk_avg, attached). This column has 400 numbers. The data follow exponential distribution, so when i normally resample using ‘resample’ function in matlab to obtain 1000 iterations, i lose the exponential decay in each iteration…
How can i code with this function so as not to lose the exponential decay in my 1000 iterations?
Thanks you all in advance 🙂 Hi all!
So this is the question:
I have a Table with one column (std_spk_avg, attached). This column has 400 numbers. The data follow exponential distribution, so when i normally resample using ‘resample’ function in matlab to obtain 1000 iterations, i lose the exponential decay in each iteration…
How can i code with this function so as not to lose the exponential decay in my 1000 iterations?
Thanks you all in advance 🙂 datasample, exponential, table, exponential data, struct MATLAB Answers — New Questions
how to organize input dimensions for LSTM classification
Hi guys,
I’m trying to train a lstm using sequential data to predict classes, and I’m a little confused by the format of input data and labels.
For the sake of simplicity, I’ll use an example to mimic my situation.
let’s say I’m trying to use temperature data to predict 3 cities: A, B, and C.
Within each city, i have temperature readings from 10 therometers over 2 seconds at a sample frequency of 100 hz.
So far, at each observation, I have a 200 by 10 matrix (time point by therometer).
temperature_matrix = randi(40, 200, 10) % pseudodata
We collected the temperature data 40 times throughout the day at each city, and this will give us 120 observations (3 cities * 40). Within each observation, I have a 200 by 10 matrix.
As for my input format, I now have a 120 by 1 cell array, and again within each cell array is a 200 by 10 matrix.
temperature_input = cell(120,1)
for ii = 1:length(temperature_input)
temperature_input{ii} = randi(40, 200, 10)
end
labels = [repmat("city A", 40,1); repmat("city B", 40,1); repmat("city C", 40,1)]
Per my undstanding, if I were to have a time step of 10, i should make a sliding window with a size of 5, and move it down the time dimenssion at a moving step of 1. That is to say, for each 200 by 10 temperature_matrix, I now slice it into 196 2D arrays, where each array is 5 by 10 (window size by therometer).
My question is how this sliding window plays a part in the input format? the sliding window create the fourth dimension in my example. The other three dimension is observation, time, and therometer. I think my overall structure is still a 120 by 1 cell array, but the dimenssions within each entry, I dont know how to organize them.
Also, out of curiosity, will it mess up the structure i transpose the time point by therometer matrice? I’m only asking between I’ve seen examples on the sequencce either in row or column.
Best,
FYHi guys,
I’m trying to train a lstm using sequential data to predict classes, and I’m a little confused by the format of input data and labels.
For the sake of simplicity, I’ll use an example to mimic my situation.
let’s say I’m trying to use temperature data to predict 3 cities: A, B, and C.
Within each city, i have temperature readings from 10 therometers over 2 seconds at a sample frequency of 100 hz.
So far, at each observation, I have a 200 by 10 matrix (time point by therometer).
temperature_matrix = randi(40, 200, 10) % pseudodata
We collected the temperature data 40 times throughout the day at each city, and this will give us 120 observations (3 cities * 40). Within each observation, I have a 200 by 10 matrix.
As for my input format, I now have a 120 by 1 cell array, and again within each cell array is a 200 by 10 matrix.
temperature_input = cell(120,1)
for ii = 1:length(temperature_input)
temperature_input{ii} = randi(40, 200, 10)
end
labels = [repmat("city A", 40,1); repmat("city B", 40,1); repmat("city C", 40,1)]
Per my undstanding, if I were to have a time step of 10, i should make a sliding window with a size of 5, and move it down the time dimenssion at a moving step of 1. That is to say, for each 200 by 10 temperature_matrix, I now slice it into 196 2D arrays, where each array is 5 by 10 (window size by therometer).
My question is how this sliding window plays a part in the input format? the sliding window create the fourth dimension in my example. The other three dimension is observation, time, and therometer. I think my overall structure is still a 120 by 1 cell array, but the dimenssions within each entry, I dont know how to organize them.
Also, out of curiosity, will it mess up the structure i transpose the time point by therometer matrice? I’m only asking between I’ve seen examples on the sequencce either in row or column.
Best,
FY Hi guys,
I’m trying to train a lstm using sequential data to predict classes, and I’m a little confused by the format of input data and labels.
For the sake of simplicity, I’ll use an example to mimic my situation.
let’s say I’m trying to use temperature data to predict 3 cities: A, B, and C.
Within each city, i have temperature readings from 10 therometers over 2 seconds at a sample frequency of 100 hz.
So far, at each observation, I have a 200 by 10 matrix (time point by therometer).
temperature_matrix = randi(40, 200, 10) % pseudodata
We collected the temperature data 40 times throughout the day at each city, and this will give us 120 observations (3 cities * 40). Within each observation, I have a 200 by 10 matrix.
As for my input format, I now have a 120 by 1 cell array, and again within each cell array is a 200 by 10 matrix.
temperature_input = cell(120,1)
for ii = 1:length(temperature_input)
temperature_input{ii} = randi(40, 200, 10)
end
labels = [repmat("city A", 40,1); repmat("city B", 40,1); repmat("city C", 40,1)]
Per my undstanding, if I were to have a time step of 10, i should make a sliding window with a size of 5, and move it down the time dimenssion at a moving step of 1. That is to say, for each 200 by 10 temperature_matrix, I now slice it into 196 2D arrays, where each array is 5 by 10 (window size by therometer).
My question is how this sliding window plays a part in the input format? the sliding window create the fourth dimension in my example. The other three dimension is observation, time, and therometer. I think my overall structure is still a 120 by 1 cell array, but the dimenssions within each entry, I dont know how to organize them.
Also, out of curiosity, will it mess up the structure i transpose the time point by therometer matrice? I’m only asking between I’ve seen examples on the sequencce either in row or column.
Best,
FY lstm, input, dimension MATLAB Answers — New Questions
Discovered but not crawled
Hi
I have problem with bing webmaster. Most of my site URL’s including the root domain having error when I request “URL Inspection”. I have search many times, read different articles including Bing Help forums but didn’t find a possible solution. Please some one help me regarding issues. For further tests I am including my site URL TechSAA . My speed speed is Good as you can check on speed testers.
Here is the image
I am using “Bing Webmaster Url Submission” plugin with API access. I don’t know why Bing webmaster is sending this error. While Google webmaster have no errors and indexing all of my site pages.
I am not a technical person so please help me, if you can recomend any WordPress Plugin to solve my problem.
I am also using Cloudflare (Cloudflare firewall) and Youst (Youst Indexnow).
I am waiting for best help.
Thank you Very much.
HiI have problem with bing webmaster. Most of my site URL’s including the root domain having error when I request “URL Inspection”. I have search many times, read different articles including Bing Help forums but didn’t find a possible solution. Please some one help me regarding issues. For further tests I am including my site URL TechSAA . My speed speed is Good as you can check on speed testers. Here is the image I am using “Bing Webmaster Url Submission” plugin with API access. I don’t know why Bing webmaster is sending this error. While Google webmaster have no errors and indexing all of my site pages. I am not a technical person so please help me, if you can recomend any WordPress Plugin to solve my problem. I am also using Cloudflare (Cloudflare firewall) and Youst (Youst Indexnow). I am waiting for best help. Thank you Very much. Read More
What determine the storage size in sharepoint online admin center
I am working on 2 online tenants, one has 1.85 storage size:-
the other has 1.02 storage size:-
so what determine this storage size and why they are different in 2 tenants?
I am working on 2 online tenants, one has 1.85 storage size:- the other has 1.02 storage size:- so what determine this storage size and why they are different in 2 tenants? Read More
pull data from list
Hi everyone
I’m very much a beginner with excel and I’m in need of some help.
I’m currently using an excel sheet for work that pulls data from various other excel sheets and i wanted to create a bit of a summary sheet, i currently have quite a long list of locations and using x lookup its pulling what item code is in this location and if there’s orders for this today as below:
I’m wanting it to show me all the “Empty” locations and all the “no order for today” locations, i know i can use filter but i want to see both lists side by side and will be adding some more in future too.
I’ve tried using =filter but cant seem to get it to work.
any help will be massively appreciated
Hi everyone I’m very much a beginner with excel and I’m in need of some help. I’m currently using an excel sheet for work that pulls data from various other excel sheets and i wanted to create a bit of a summary sheet, i currently have quite a long list of locations and using x lookup its pulling what item code is in this location and if there’s orders for this today as below:I’m wanting it to show me all the “Empty” locations and all the “no order for today” locations, i know i can use filter but i want to see both lists side by side and will be adding some more in future too. I’ve tried using =filter but cant seem to get it to work. any help will be massively appreciated Read More
Unable to print on macOS 15 beta
Universal Print has stopped working on macOS 15 beta and I’m wondering if anyone else has encountered this or knows of a workaround.
The job enters the print queue but it essentially says “Printer is busy”, even though the printer sleeping, and the progress bar continually swipes back and forth. Trying to use ipptool results in “GETTOKEN” and the function cupsError() returns “Unauthorized”.
I’ve logged in to the UP preference panel, I have permission to print to the printer and it’s shared to the Mac, checked via the portal. I’ve deleted and added the printer via the UP preference pane and the Printers & Scanners panel shows the printer as idle. In all cases, the Mac just won’t communicate to the server to submit the job
None of the troubleshooting steps are relevant nor help, does anyone have an idea of what to try next?
Thanks,
Dave
Universal Print has stopped working on macOS 15 beta and I’m wondering if anyone else has encountered this or knows of a workaround.The job enters the print queue but it essentially says “Printer is busy”, even though the printer sleeping, and the progress bar continually swipes back and forth. Trying to use ipptool results in “GETTOKEN” and the function cupsError() returns “Unauthorized”. I’ve logged in to the UP preference panel, I have permission to print to the printer and it’s shared to the Mac, checked via the portal. I’ve deleted and added the printer via the UP preference pane and the Printers & Scanners panel shows the printer as idle. In all cases, the Mac just won’t communicate to the server to submit the job None of the troubleshooting steps are relevant nor help, does anyone have an idea of what to try next? Thanks,Dave Read More
Does the Storage Size shown inside SharePoint online admin center cover both SharePoint and OneDrive
When we access the SharePoint Online admin center it shows the available storage out of the total size:-
so do the available size and the total size cover both SharePoint sites and OneDrive? or only SharePoint? and is exchange mail box also calculated here?
When we access the SharePoint Online admin center it shows the available storage out of the total size:- so do the available size and the total size cover both SharePoint sites and OneDrive? or only SharePoint? and is exchange mail box also calculated here? Read More
Copilot, Sharepoint Online, and LLM Training Data
When one creates a Copilot for a SPO site, what data becomes part of the model’s training? Are prompts used by msft in training the model? Is any part of the site data or AI’s reponses used in training the model? This is a critical issue for any organization with protected data, like law firms, health care delivery orgs, etc.
When one creates a Copilot for a SPO site, what data becomes part of the model’s training? Are prompts used by msft in training the model? Is any part of the site data or AI’s reponses used in training the model? This is a critical issue for any organization with protected data, like law firms, health care delivery orgs, etc. Read More
File locations in SPO subsites vs. Teams group sites
Current practice: Org is a law firm with one tenant, that has multiple subsites and some secondary subsites below those. Subsites are topical, one of which contains active clients, and each of those has a subsite. Matters are folders within the subsites. Collaboration with externals is either by invitaton per file or by access by Entra groups that include the necessary externals. This allows easy synching via the OneDrive client, easy searching, and easy archiving.
Objective: To use Teams for internals and externals on cases requiring a lot of collaboration.
Problem: If one sets up a team in Teams with channels for cases, unless something has changed those files are kept in a dedicated SPO site, located hierarchically directly under the tenant. That interrupts the current file management system. Is there a way to use Teams and channels with externals while keeping the files in their current SPO subsites and folders? Or am I envisioning incorrectly how this would work?
Current practice: Org is a law firm with one tenant, that has multiple subsites and some secondary subsites below those. Subsites are topical, one of which contains active clients, and each of those has a subsite. Matters are folders within the subsites. Collaboration with externals is either by invitaton per file or by access by Entra groups that include the necessary externals. This allows easy synching via the OneDrive client, easy searching, and easy archiving. Objective: To use Teams for internals and externals on cases requiring a lot of collaboration. Problem: If one sets up a team in Teams with channels for cases, unless something has changed those files are kept in a dedicated SPO site, located hierarchically directly under the tenant. That interrupts the current file management system. Is there a way to use Teams and channels with externals while keeping the files in their current SPO subsites and folders? Or am I envisioning incorrectly how this would work? Read More
How to create a component reference in the system composer from a simscape component
Hello,
I have a Simscape Isothermal Fluid component that is an isolated component (it have its own test harness, test cases and requirements. You can see it is composed with simscape signals and simulink signals.
I would like to build a system composer, were this component is part of. But when I add a "reference component" on the system composer ad link to the compoenent, the physical lines does not come.
The only way I made it works is creating the sismcape compoenent inside the system composer, but this way I need to manage changes and so on inside the composer.
Any solution to create a simscape component that can be referenced inside the system composer and have the physical connections available?Hello,
I have a Simscape Isothermal Fluid component that is an isolated component (it have its own test harness, test cases and requirements. You can see it is composed with simscape signals and simulink signals.
I would like to build a system composer, were this component is part of. But when I add a "reference component" on the system composer ad link to the compoenent, the physical lines does not come.
The only way I made it works is creating the sismcape compoenent inside the system composer, but this way I need to manage changes and so on inside the composer.
Any solution to create a simscape component that can be referenced inside the system composer and have the physical connections available? Hello,
I have a Simscape Isothermal Fluid component that is an isolated component (it have its own test harness, test cases and requirements. You can see it is composed with simscape signals and simulink signals.
I would like to build a system composer, were this component is part of. But when I add a "reference component" on the system composer ad link to the compoenent, the physical lines does not come.
The only way I made it works is creating the sismcape compoenent inside the system composer, but this way I need to manage changes and so on inside the composer.
Any solution to create a simscape component that can be referenced inside the system composer and have the physical connections available? simscape, system composer MATLAB Answers — New Questions
In Simulink, How to decode CAN data with length greater than 8?
There is an issue using CAN Unpack to decode CAN message with length greater than 8. Is there any other recommanded way to decode CAN data? For starter, I have used bit extract and bitwise AND Shift Arithmetic to extract bits in simulink. I’m not sure if matlab function in simulink can also handle this if it’s possible.There is an issue using CAN Unpack to decode CAN message with length greater than 8. Is there any other recommanded way to decode CAN data? For starter, I have used bit extract and bitwise AND Shift Arithmetic to extract bits in simulink. I’m not sure if matlab function in simulink can also handle this if it’s possible. There is an issue using CAN Unpack to decode CAN message with length greater than 8. Is there any other recommanded way to decode CAN data? For starter, I have used bit extract and bitwise AND Shift Arithmetic to extract bits in simulink. I’m not sure if matlab function in simulink can also handle this if it’s possible. data, control MATLAB Answers — New Questions
Why do I get an invalid Python executable path error when running the “pyenv” function?
Previously I was able to use the "pyenv" function in MATLAB with my Python environment. However, now when I try to use the "pyenv" function, I get the following error message. Why am I suddenly receiving this error?
Error using pyenv
‘<path>’ is not a path to a valid Python executable.Previously I was able to use the "pyenv" function in MATLAB with my Python environment. However, now when I try to use the "pyenv" function, I get the following error message. Why am I suddenly receiving this error?
Error using pyenv
‘<path>’ is not a path to a valid Python executable. Previously I was able to use the "pyenv" function in MATLAB with my Python environment. However, now when I try to use the "pyenv" function, I get the following error message. Why am I suddenly receiving this error?
Error using pyenv
‘<path>’ is not a path to a valid Python executable. python, pyenv MATLAB Answers — New Questions
Finding the closest coordinate from a surface plot based on a X, Y location
Hello, I want to extrapolate a point (longitude,latitude) from the coordinates of a surface file (attached here as "slab_strike") as it is empty (Strike=NaN) when using interp2 as the points are outside the boundary. Despsite I used the option "nearest" is empty anyway.
% Coordinates of the points:
lat_GMM= -17.8990;
lon_GMM=-73.5295;
% The surface plot
load slab_strike % Loading the slab strike
Slab_strike.x=x
Slab_strike.y=y
Slab_strike.z=z
Strike = interp2(Slab_strike.x,Slab_strike.y,Slab_strike.z,lon_GMM,lat_GMM)
As Strike=NaN, there is a way I can choose the closest point value from the surface instead.
I would appreciate the helpHello, I want to extrapolate a point (longitude,latitude) from the coordinates of a surface file (attached here as "slab_strike") as it is empty (Strike=NaN) when using interp2 as the points are outside the boundary. Despsite I used the option "nearest" is empty anyway.
% Coordinates of the points:
lat_GMM= -17.8990;
lon_GMM=-73.5295;
% The surface plot
load slab_strike % Loading the slab strike
Slab_strike.x=x
Slab_strike.y=y
Slab_strike.z=z
Strike = interp2(Slab_strike.x,Slab_strike.y,Slab_strike.z,lon_GMM,lat_GMM)
As Strike=NaN, there is a way I can choose the closest point value from the surface instead.
I would appreciate the help Hello, I want to extrapolate a point (longitude,latitude) from the coordinates of a surface file (attached here as "slab_strike") as it is empty (Strike=NaN) when using interp2 as the points are outside the boundary. Despsite I used the option "nearest" is empty anyway.
% Coordinates of the points:
lat_GMM= -17.8990;
lon_GMM=-73.5295;
% The surface plot
load slab_strike % Loading the slab strike
Slab_strike.x=x
Slab_strike.y=y
Slab_strike.z=z
Strike = interp2(Slab_strike.x,Slab_strike.y,Slab_strike.z,lon_GMM,lat_GMM)
As Strike=NaN, there is a way I can choose the closest point value from the surface instead.
I would appreciate the help selecting the closest point reference MATLAB Answers — New Questions
In Outlook how to create common event Categorize for the whole organization
How to create event categories for calendar events to be selected by the user when creating a new event. Example
Needs analysis Demo Contract Renewal
How to create event categories for calendar events to be selected by the user when creating a new event. Example Needs analysis Demo Contract Renewal Read More