Month: July 2024
about write data to the first sheet of excel
hello, i want wrtie specific data to several sheet of the excel, and i have named each sheet, but i find may new target sheet will added after sheet1, how i can replace sheet1hello, i want wrtie specific data to several sheet of the excel, and i have named each sheet, but i find may new target sheet will added after sheet1, how i can replace sheet1 hello, i want wrtie specific data to several sheet of the excel, and i have named each sheet, but i find may new target sheet will added after sheet1, how i can replace sheet1 xlswrite, write from first sheet MATLAB Answers — New Questions
Error using gbellmf with Matlab
Post Content Post Content gbellmf matlab MATLAB Answers — New Questions
How can.struct data be made available to non-MATLAB users?
I have several scripts which are based on a structure containing multiple fields of data, with nested structures inside. This structure is as is, as it is generated automatically and is used for further processing. However, the dependencies and structure of the work indicated inside this struct are also required for people who do not use MATLAB.
Hence, I’m looking for one of two solutions, which I was unable to find so far.
Can a .struct with nested structs, using a multitude of fieldnames and datalines, be converted to a non-MATLAB format like excel? The command "writetable(struct2table(structname, ‘filename.xlsx’)" works, but does not include the nested data which can be multiple layers deep.
Can the .struct data be saved such that it can be viewed by someone without MATLAB? (e.g. does MATLAB provide something like a ‘viewer’?)I have several scripts which are based on a structure containing multiple fields of data, with nested structures inside. This structure is as is, as it is generated automatically and is used for further processing. However, the dependencies and structure of the work indicated inside this struct are also required for people who do not use MATLAB.
Hence, I’m looking for one of two solutions, which I was unable to find so far.
Can a .struct with nested structs, using a multitude of fieldnames and datalines, be converted to a non-MATLAB format like excel? The command "writetable(struct2table(structname, ‘filename.xlsx’)" works, but does not include the nested data which can be multiple layers deep.
Can the .struct data be saved such that it can be viewed by someone without MATLAB? (e.g. does MATLAB provide something like a ‘viewer’?) I have several scripts which are based on a structure containing multiple fields of data, with nested structures inside. This structure is as is, as it is generated automatically and is used for further processing. However, the dependencies and structure of the work indicated inside this struct are also required for people who do not use MATLAB.
Hence, I’m looking for one of two solutions, which I was unable to find so far.
Can a .struct with nested structs, using a multitude of fieldnames and datalines, be converted to a non-MATLAB format like excel? The command "writetable(struct2table(structname, ‘filename.xlsx’)" works, but does not include the nested data which can be multiple layers deep.
Can the .struct data be saved such that it can be viewed by someone without MATLAB? (e.g. does MATLAB provide something like a ‘viewer’?) .struct, data conversion, struct excel MATLAB Answers — New Questions
Unable to choose option for Choice function when using Conditional Formatting
I am trying to colour code a SharePoint List Calendar view so that the items displayed on the calendar will be different colours depending on the item chosen in the “Region” column, which is a choice function. However, when I try to choose one of the options, the “choose or type a value” field is greyed out and will not allow me to click on it.
The function works on the default list view but not on the calendar view. On the default list view, I have colour-coded the Title items so that they change colour depending on the Region selected, and would like the same to be reflected on the calendar, but am not allowed to make the same changes on the Calendar view conditional formatting window.
Any assistance would be appreciated!
I am trying to colour code a SharePoint List Calendar view so that the items displayed on the calendar will be different colours depending on the item chosen in the “Region” column, which is a choice function. However, when I try to choose one of the options, the “choose or type a value” field is greyed out and will not allow me to click on it. The function works on the default list view but not on the calendar view. On the default list view, I have colour-coded the Title items so that they change colour depending on the Region selected, and would like the same to be reflected on the calendar, but am not allowed to make the same changes on the Calendar view conditional formatting window. Any assistance would be appreciated! Read More
Can I receive incoming phone calls on my PC without using a mobile?
I’m a bit old-fashioned, and don’t have a mobile. No problem, I’m home most of the day.
Although I use the house landline, sometimes it’s busy, and it would be convenient to be able to make and receive calls on my PC, without needing to use the landline.
Anyone know if this is possible? I’ve seen loads of companies offering virtual numbers, but they all seem to route incoming calls to your mobile. I would like to have them routed directly to my PC instead,
presumably using some software (I guess a Skype-type thing).
I’m a bit old-fashioned, and don’t have a mobile. No problem, I’m home most of the day.Although I use the house landline, sometimes it’s busy, and it would be convenient to be able to make and receive calls on my PC, without needing to use the landline. Anyone know if this is possible? I’ve seen loads of companies offering virtual numbers, but they all seem to route incoming calls to your mobile. I would like to have them routed directly to my PC instead, presumably using some software (I guess a Skype-type thing). Read More
Surface Pro 9 Arm Application support issues
Surface Pro with ARM processer is not supported by many 3p apps it seems. recently i noticed that trellix DLP agent is not getting installed. and offcial site also confirmed that they are not supporting. this is one of the case. as we use along, we might get more supportably issues.
Wanted to check if any option to install such apps which are not directly supported with arm processer.
Surface Pro with ARM processer is not supported by many 3p apps it seems. recently i noticed that trellix DLP agent is not getting installed. and offcial site also confirmed that they are not supporting. this is one of the case. as we use along, we might get more supportably issues. Wanted to check if any option to install such apps which are not directly supported with arm processer. Read More
How to write a word in one cell and have it paste in another cell on excel document
I want to see a word I write in one cell paste in other cells. Linking cells
I want to see a word I write in one cell paste in other cells. Linking cells Read More
How Can I remove these popups?
Why this keeps popping up on my windows 11, how can I remove it?
Why this keeps popping up on my windows 11, how can I remove it? Read More
Remove the “All” tab when clicking the Smily icon
Recently, there is an “all” tab, when I click on the smily icon, which only shows 6 emojis (and they are not my recent/most used) and below it, there are GIFs and stickers. 99.9% when I click on this icon, I want to add an emoji, so with the new setting, I need one more click each time to get to them.
I understand, that bundling emojis, GIFs and stickers into one icon cleans up the menu bar – but the “all” tab is unnecessary. The default should be the “emoji” tab – or at least make is customisable, so users can choose their default tab.
Recently, there is an “all” tab, when I click on the smily icon, which only shows 6 emojis (and they are not my recent/most used) and below it, there are GIFs and stickers. 99.9% when I click on this icon, I want to add an emoji, so with the new setting, I need one more click each time to get to them. I understand, that bundling emojis, GIFs and stickers into one icon cleans up the menu bar – but the “all” tab is unnecessary. The default should be the “emoji” tab – or at least make is customisable, so users can choose their default tab. Read More
Record screen video while running script
Hi!
I would like to record a video of my screen while running a psychtoolbox script (DriftDemo6). Is this possible? I tried with the Mac screen recorder, but it breaks the psychtoolbox script.
Thank you!
LeaHi!
I would like to record a video of my screen while running a psychtoolbox script (DriftDemo6). Is this possible? I tried with the Mac screen recorder, but it breaks the psychtoolbox script.
Thank you!
Lea Hi!
I would like to record a video of my screen while running a psychtoolbox script (DriftDemo6). Is this possible? I tried with the Mac screen recorder, but it breaks the psychtoolbox script.
Thank you!
Lea video, psychtoolbox, screen recording MATLAB Answers — New Questions
Extracting neighbouring cells in a cell array
This is a follow up to this question. I have cell array and a list of cells of interests (given as a matrix, whose columns correspond to the indices of cells). I want to access and concatenate the entries of all cells located +/- 1 the cell of interest.
For example, as suggested in the accepted answer to the references question, I construct the cell array A as follows
B = [1,2,2,1,1; 2,1,2,1,2];
V = 1:size(B,2);
A = accumarray(B.’,V(:),[],@(m){m.’})
Now I have the matrix C with the cells of interest
C=[1 2; 1 2]
I have 2 neighbourhoods that I want to explore
NbhInd1=[1 1 2; 1 2 1];
NbhInd2=[1 2 2; 2 2 1];
In the end, I want to be able to get two arrays of neighbourhoods (can be sorted or unsorted)
Nbh1=[4 1 5 2]
Nbh2=[1 5 3 2]
I have 3 problems:
(Same as in the referenced question): I don’t know how to convert an array into a proper index to refer to the correct cell of A. I.e. A{[1,1]} or A ([1,1]) is not the same as A{1,1}, and I need to the latter.
How to automate the construction of indices of the neighbourhoods. In principle, I can use combinations() but it gives too many indices. Also, I’m not sure how to automatically easily convert [1,1] into table2array(combinations(1:2,1:2)), i.e. splitting an array into its coordinates and manipulating separately
The true array A has high dimensionality (e.g. size(A)=repmat(9,[1,10])), so I’d like to minimize the number of loops.This is a follow up to this question. I have cell array and a list of cells of interests (given as a matrix, whose columns correspond to the indices of cells). I want to access and concatenate the entries of all cells located +/- 1 the cell of interest.
For example, as suggested in the accepted answer to the references question, I construct the cell array A as follows
B = [1,2,2,1,1; 2,1,2,1,2];
V = 1:size(B,2);
A = accumarray(B.’,V(:),[],@(m){m.’})
Now I have the matrix C with the cells of interest
C=[1 2; 1 2]
I have 2 neighbourhoods that I want to explore
NbhInd1=[1 1 2; 1 2 1];
NbhInd2=[1 2 2; 2 2 1];
In the end, I want to be able to get two arrays of neighbourhoods (can be sorted or unsorted)
Nbh1=[4 1 5 2]
Nbh2=[1 5 3 2]
I have 3 problems:
(Same as in the referenced question): I don’t know how to convert an array into a proper index to refer to the correct cell of A. I.e. A{[1,1]} or A ([1,1]) is not the same as A{1,1}, and I need to the latter.
How to automate the construction of indices of the neighbourhoods. In principle, I can use combinations() but it gives too many indices. Also, I’m not sure how to automatically easily convert [1,1] into table2array(combinations(1:2,1:2)), i.e. splitting an array into its coordinates and manipulating separately
The true array A has high dimensionality (e.g. size(A)=repmat(9,[1,10])), so I’d like to minimize the number of loops. This is a follow up to this question. I have cell array and a list of cells of interests (given as a matrix, whose columns correspond to the indices of cells). I want to access and concatenate the entries of all cells located +/- 1 the cell of interest.
For example, as suggested in the accepted answer to the references question, I construct the cell array A as follows
B = [1,2,2,1,1; 2,1,2,1,2];
V = 1:size(B,2);
A = accumarray(B.’,V(:),[],@(m){m.’})
Now I have the matrix C with the cells of interest
C=[1 2; 1 2]
I have 2 neighbourhoods that I want to explore
NbhInd1=[1 1 2; 1 2 1];
NbhInd2=[1 2 2; 2 2 1];
In the end, I want to be able to get two arrays of neighbourhoods (can be sorted or unsorted)
Nbh1=[4 1 5 2]
Nbh2=[1 5 3 2]
I have 3 problems:
(Same as in the referenced question): I don’t know how to convert an array into a proper index to refer to the correct cell of A. I.e. A{[1,1]} or A ([1,1]) is not the same as A{1,1}, and I need to the latter.
How to automate the construction of indices of the neighbourhoods. In principle, I can use combinations() but it gives too many indices. Also, I’m not sure how to automatically easily convert [1,1] into table2array(combinations(1:2,1:2)), i.e. splitting an array into its coordinates and manipulating separately
The true array A has high dimensionality (e.g. size(A)=repmat(9,[1,10])), so I’d like to minimize the number of loops. cell array, array, index MATLAB Answers — New Questions
Error while running MATLAB example model “QPSK Receiver with ADALM-PLUTO Radio in Simulink”
I am trying to run the MATLAB example model "QPSK Receiver with ADALM-PLUTO Radio in Simulink" from the link https://www.mathworks.com/help/comm/plutoradio/ug/qpsk-receiver-with-adalm-pluto-radio-1.html, When I run this model without making any changes, it is giving error in frame synchronizer as shown in the figure attached.I am trying to run the MATLAB example model "QPSK Receiver with ADALM-PLUTO Radio in Simulink" from the link https://www.mathworks.com/help/comm/plutoradio/ug/qpsk-receiver-with-adalm-pluto-radio-1.html, When I run this model without making any changes, it is giving error in frame synchronizer as shown in the figure attached. I am trying to run the MATLAB example model "QPSK Receiver with ADALM-PLUTO Radio in Simulink" from the link https://www.mathworks.com/help/comm/plutoradio/ug/qpsk-receiver-with-adalm-pluto-radio-1.html, When I run this model without making any changes, it is giving error in frame synchronizer as shown in the figure attached. qpsk receiver, pluto sdr MATLAB Answers — New Questions
Non uniform sample in frequency analysis! non uniform dft?
Hallo! I am working in project that I have to make a frequency analysis on a time series. However my sample is not uniformly sampled so the Fast Fourier Transformation(FFT) is not appropriate for my analysis. After a search I found that for my case( no uniform sample) there is the Non Uniform Discrete Fourier Transformation (nuDFT). Does anyone know where can I find such a code or can suggest me any other way to make it?Hallo! I am working in project that I have to make a frequency analysis on a time series. However my sample is not uniformly sampled so the Fast Fourier Transformation(FFT) is not appropriate for my analysis. After a search I found that for my case( no uniform sample) there is the Non Uniform Discrete Fourier Transformation (nuDFT). Does anyone know where can I find such a code or can suggest me any other way to make it? Hallo! I am working in project that I have to make a frequency analysis on a time series. However my sample is not uniformly sampled so the Fast Fourier Transformation(FFT) is not appropriate for my analysis. After a search I found that for my case( no uniform sample) there is the Non Uniform Discrete Fourier Transformation (nuDFT). Does anyone know where can I find such a code or can suggest me any other way to make it? non uniform discrete fast sample fourier frequency analysis MATLAB Answers — New Questions
Windows Explorer in Windows 11
Just recently switched to Win 11 Pro from Win 10 Pro and I have a problem.
Under windows 10 if I opened file explorer I could get it to always open in full screen mode (by selecting run maximized on the short cut), however, I can not get windows 11 explorer to do the same.
I have tried select run maximize, opening explorer the full screen it, then closing and reopening , but still to no change.
I have tried all the suggestion for doing so and have found plenty that I have got to work with Windows 8 & 10 but none worked with Windows 11.
Has anyone found one that does. If so please let me known how you did it.
Just recently switched to Win 11 Pro from Win 10 Pro and I have a problem. Under windows 10 if I opened file explorer I could get it to always open in full screen mode (by selecting run maximized on the short cut), however, I can not get windows 11 explorer to do the same.I have tried select run maximize, opening explorer the full screen it, then closing and reopening , but still to no change. I have tried all the suggestion for doing so and have found plenty that I have got to work with Windows 8 & 10 but none worked with Windows 11. Has anyone found one that does. If so please let me known how you did it. Read More
Images/Charts Formatting – Move with cells –> Move with Columns / Move with Rows
Hey everyone,
We have the ‘Move with cells‘ feature in the Size & Properties of an image or chart, but I am thinking of something more specific than ‘cells‘. I was wondering if Excel could have an option like ‘Move with columns only‘ or ‘Move with rows only‘?
My current use case is that I would like images/charts to move with columns (e.g., if I hide columns) but not with rows (e.g., if I have a filter on a table next to a chart).
Hope that makes sense 🙂
Thank you!
Hey everyone, We have the ‘Move with cells’ feature in the Size & Properties of an image or chart, but I am thinking of something more specific than ‘cells’. I was wondering if Excel could have an option like ‘Move with columns only’ or ‘Move with rows only’?My current use case is that I would like images/charts to move with columns (e.g., if I hide columns) but not with rows (e.g., if I have a filter on a table next to a chart). Hope that makes sense 🙂 Thank you! Read More
Windows 11 New Feature Recall help
Windows Recall takes screenshots of your screen every 5 secs as well as keylogging entries too. How do you disable this crazy mad feature in Windows 11 Pro?
Lastly what is the point of customising your Windows 11 computer like enabling/disabling win 11 setting like for example disabling Ads personalisation then for only in the future for Windows updates to enable what you disabled and to disabled what you enabled discreetly without you knowing taking you back to square 1 like a fresh install of windows all over again to settings like Microsoft likes?
How you stop this vicious cycle and make sure your customisation is unchanged even after Windows updates?
Windows Recall takes screenshots of your screen every 5 secs as well as keylogging entries too. How do you disable this crazy mad feature in Windows 11 Pro? Lastly what is the point of customising your Windows 11 computer like enabling/disabling win 11 setting like for example disabling Ads personalisation then for only in the future for Windows updates to enable what you disabled and to disabled what you enabled discreetly without you knowing taking you back to square 1 like a fresh install of windows all over again to settings like Microsoft likes? How you stop this vicious cycle and make sure your customisation is unchanged even after Windows updates? Read More
Files not located where Windows Explorer says they are
I have a folder with 50-ish photos. If you right-click on any of them in Windows Explorer and then select Properties, it lists the file location as a folder that doesn’t seem to exist. If you right-click again on the file again and then select Open File Location, it opens the folder where they actually reside. Puzzling.
FWIW, I found these photos yesterday in a folder that I’d apparently named “Needs Action”. There were the only contents of that folder. I created the folder where they now reside and moved them to it. I then deleted the “Needs Action” folder. And no, the location that Windows Explorer lists as the file location is not “Needs Action”, it’s yet another folder (not the one I created yesterday) with a name that is completely consistent with my naming convention for saving photos. But, like I said above, that folder doesn’t appear to exist.
I haven’t rebooted since all this started. I suppose it’s possible that might resolve things, but I’m holding off a bit.
I have a folder with 50-ish photos. If you right-click on any of them in Windows Explorer and then select Properties, it lists the file location as a folder that doesn’t seem to exist. If you right-click again on the file again and then select Open File Location, it opens the folder where they actually reside. Puzzling. FWIW, I found these photos yesterday in a folder that I’d apparently named “Needs Action”. There were the only contents of that folder. I created the folder where they now reside and moved them to it. I then deleted the “Needs Action” folder. And no, the location that Windows Explorer lists as the file location is not “Needs Action”, it’s yet another folder (not the one I created yesterday) with a name that is completely consistent with my naming convention for saving photos. But, like I said above, that folder doesn’t appear to exist. I haven’t rebooted since all this started. I suppose it’s possible that might resolve things, but I’m holding off a bit. Read More
Need help with updating Registry entry LOCKED DISK
I would like to make the change in the Registry, the info I found did not have the correct info. Can someone post the registry entry I need ?
I would like to make the change in the Registry, the info I found did not have the correct info. Can someone post the registry entry I need ? Read More
Microsoft Defender for Endpoint P2 for EDU licenses
Hi Everyone,
We have A3 and A5 students’ licenses for EDU, but these don’t include Microsoft Defender for Endpoint P2. Is there any other license for education that includes this product, or these should be purchased alone for each student’s device?
Thanks
Hi Everyone,We have A3 and A5 students’ licenses for EDU, but these don’t include Microsoft Defender for Endpoint P2. Is there any other license for education that includes this product, or these should be purchased alone for each student’s device? Thanks Read More
How to offset the position of a multilevel list number to the top left?
I would like to replicate a chapter title heading style in a thesis that I am writing that is similar to a document written in “LaTeX” that looks like so:
I want to create a multilevel list with the top level heading having a style like the one in the screenshot (where the list number is floating to the top left with light gray background) and the rest of the list if in the 1.1, 1.1.1, etc.
Can this be done in word?
I would like to replicate a chapter title heading style in a thesis that I am writing that is similar to a document written in “LaTeX” that looks like so:I want to create a multilevel list with the top level heading having a style like the one in the screenshot (where the list number is floating to the top left with light gray background) and the rest of the list if in the 1.1, 1.1.1, etc.Can this be done in word? Read More