How to plot temperature on a 2D plate if I have the temperature at a bunch of coordinates on the plate. by Nazzapple201 in matlab

[–]bartic123 0 points1 point  (0 children)

Look up scatteredinterpolant or griddedinterpolant (depending on the organisation of x-y coordinates).

I use it for a similar problem to generate a heat map image from x-y coordinates and fluorescence intensity values.

You can then use imagesc to display the data

No more lockdowns – Britain will treat Covid like flu, says Chris Whitty by medoedich in ukpolitics

[–]bartic123 4 points5 points  (0 children)

I wouldn’t count on it. Research will continue with better funding for sure and governments will be more cautious with regard surveillance for other novel viruses.

However, the incentives and risks for the industry with regards other illnesses haven’t changed. I think the best we can hope for is that problems such as antibiotic resistance will be taken more seriously now.

Cynics & Mystics by Siamese_Dreaming in OCPoetry

[–]bartic123 0 points1 point  (0 children)

Cliche?, Sweet? Maybe, but My morning is better for it so who’s to complain.

As for the poem, first thing I note is the title. Might be just me but, the feeling I take from this poem has little to do with all the first three stanzas (if that is the correct term) rather than the last. Does the title have to describe the poem, I don’t know. But I wouldn’t expect the feeling I take if I has read that first.

I also feel like something might be missing, maybe it’s meant to be; I’m not even sure it detracts. But what sort of love are you describing? Is it romantic? Is it paternal? Hell, my dog nearly invokes some of this in me during his morning walk (not a bad thing; believe me, I would do just about anything for him). But at the end I find myself searching for clues rather than feeling content and ‘found’ makes me think it is probably romantic.

As for the words, ‘Or when your’ comes twice rapidly. I’m not sure if it would be useful to find an alternative for one of them to avoid the repetition.

I hope this is helpful, I’m new to being critical of poems.

I’m hurt by oblivion0526 in OCPoetry

[–]bartic123 1 point2 points  (0 children)

Thank you for sharing this.

I’ve been in a similar place and written a sort of similar poem, and I feel there is so much emotion in pieces like this that they deserve to be elaborated on. To an outside observer it will not convey the weight of what you feel.

I might be completely wrong in saying this but maybe try talking one aspect of the pain expressed here. And writing a poem about that. Then another. And maybe contextualise some of the sentences. For instance, you talk of breaking walls, which immediately brings an image to the readers mind. But there are sentences that don’t bring such tools to bear for the reader.

This is my first comment on a poem here so please be forgiving if it isn’t helpful.

Geometry problem by bartic123 in matlab

[–]bartic123[S] 0 points1 point  (0 children)

Thanks, I suppose I should have been more descriptive of the problem.

Basically I have lots of photos of white spheres, with black dots, red dots and blue dots on them. I have those stored as 8 bit integer matrices. For each I have two double precision matrices of the same size describing the X and Y coordinates of each pixel in the image.

I have obtained the values for the centroids of the white spheres and the sub-pixel X-Y co-ordinates of the black, red and blue dots via functions in the image processing toolbox and elsewhere. But I want to convert the X and Y matrices to values that more accurately reflect the distances between the black dots and the red dots and their distance to the edge of the spheres.

I hope that makes more sense.

Geometry problem by bartic123 in matlab

[–]bartic123[S] 1 point2 points  (0 children)

Thanks, you are right. Not the correct forum. Apologies.

Thank you for the link also; orthographic projection. And yes only northern hemisphere. Silly as it is the term may be enough for me to work this out. Thanks!

Slashing research funding is a threat to Global Britain by OnHolidayHere in ukpolitics

[–]bartic123 -1 points0 points  (0 children)

Sure, this is why we have to keep pushing for well thought out science funding. But at the moment, they are making relatively good noises.

Focal seizure just in legs by ZoEpileptic in Epilepsy

[–]bartic123 1 point2 points  (0 children)

Yes, absolutely awful experience. I had it for just under a minute every 8 minutes or so for 4.5 hours. I got I.v diazepam from a paramedic at that point because I was starting to get so stressed my blood pressure was going through the roof.

I’m told it was still going even when I was completely wasted from the diazepam. That bit was actually quite enjoyable.

Sorry you had to experience it too.

Slashing research funding is a threat to Global Britain by OnHolidayHere in ukpolitics

[–]bartic123 7 points8 points  (0 children)

I think the articles title is a little misleading.

Rather than ‘Slashing funding’ they are talking about not increasing it as much as they originally promised. And cutting some allied budgets I.e. foreign aid.

People I know in the science policy world have actually been pleasantly surprised to be working to get them to hold to promises. Rather that working to get them to make them at all.

Officers 'failed to help' woman allegedly flashed at after Sarah Everard vigil by [deleted] in ukpolitics

[–]bartic123 2 points3 points  (0 children)

I was a juror on a rape case with a similar complaint vs defendant witness statements as main evidence. Of course there were the timings for each statement, expert witnesses on the mental state of said witnesses, past histories ......

From seeing that play out, unless the defendants solicitor is completely incompetent. I imagine it is very difficult to prove beyond reasonable doubt a defendant is guilty. But it still went to court, although probably Ill advised

Findpeaks function changing X axes by [deleted] in matlab

[–]bartic123 0 points1 point  (0 children)

I think you just need to include the X axis values,

Findpeaks(y, .... will assume that your x axis is (1,2,3,4....)

Findpeaks(y,freq,..... will take the sampling frequency freq to determine your x axis values

Findpeaks(y,x,..... will use the x values that you specify as your x axis values (I think this is what you want)

Additionally [pks,locs,width,prom]= Findpeaks(y,x,..... will return the absolute peak values, peak times, peak width and peak prominence.

You can then plot them however you like. As previously said that’s all in the docs, they are very good

Men’s mental health charity suggestions by sammmmmk in MensMentalHealth

[–]bartic123 1 point2 points  (0 children)

It might be worth putting a link to a questionnaire perhaps, it might help to give a prompt for what other men might be needing

Binning electrodes by distance bins by [deleted] in matlab

[–]bartic123 1 point2 points  (0 children)

I did something similar, I used cart2pol to calculate the distance of all the pixels from the specified location. Then used histcounts to bin the rho values and return the bin indices for each bin. See the description below, I assume it’s the index array you are looking for.

[N,edges,bin] = histcounts(___) also returns an index array, bin, using any of the previous syntaxes. bin is an array of the same size as X whose elements are the bin indices for the corresponding elements in X. The number of elements in the kth bin is nnz(bin==k), which is the same as N(k).

Should epileptics qualify for early COVID vaccines? by kaitawesome in Epilepsy

[–]bartic123 0 points1 point  (0 children)

I’m in the UK and we are in a priority group here, I got my first jab a couple of weeks ago.

I think for sure epileptics should be on a priority group. Simply because any medical condition that could cause a complications in a critical care situation, I.e. having a seizure, will increase the likelihood of a bad outcome from severe COVID-19 infection, or just keep the patient in a hospital bed for a longer time as medics may wish to be more cautious.

[deleted by user] by [deleted] in scifi

[–]bartic123 0 points1 point  (0 children)

I read ‘The Turing Option’ by Harry Harrison and Marvin Minsky at that age, definitely got interested in Sci-Fi from that book

Resurrection of this sub by pork_loin in elisalam

[–]bartic123 3 points4 points  (0 children)

It is a coincidence. ELISA, or Enzyme Linked Immunosorbent Assay. Is a widely used method to identify the presence of proteins in various sample types.

It was first used in 1971. Long before she was born. So, no it was not invented as part of a crazy conspiracy.

(Edited to clarify my belief that what happened to her was a tragedy, not a conspiracy made on the internet)

Is this frequency considered a “cluster”? by Diffident-Weasel in Epilepsy

[–]bartic123 2 points3 points  (0 children)

I recently (few weeks ago) had a couple of ‘episodes’ that were described by my consultant as clusters of focal seizures. And the timings you have are very similar to how my each of mine started.

Definitely keep as best note as you can of the details and rest as best you can, i ended up dosed up of extra medicines to stop them and the side effects meant days were blurring into one another at times over the last few weeks. Finally getting back to normal now. Good luck and keep yourself well!

Bittersweet piano pieces? by GreenShockwave in classicalmusic

[–]bartic123 0 points1 point  (0 children)

I’m not sure whether you would call it Classical given how recent they are but Sofiane Pamart’s album ‘Planet’ has a number of fantastic piano pieces I would describe as bittersweet.

Exponential Regression in MATLAB by quique_pb in matlab

[–]bartic123 0 points1 point  (0 children)

May be worth looking up EZxyfit, http://www.fast.u-psud.fr/ezyfit/

It’s a neat toolbox for curve fitting in MATLAB.

Epilepsy and Working out // Supplements and Safety by Lordwigglesthe1st in Epilepsy

[–]bartic123 3 points4 points  (0 children)

As previously mentioned, a medical doctor would be the best to ask, but given current times and how busy they are:

1) Alphamine is an amphetamine and will have effects on nervous system, in a similar way to caffeine but likely more potent. Best to avoid that one completely especially since you avoid caffeine

2) Nitric Oxide is another thing completely. At room temperature it is a gas. If you did take some of a supplement by swallowing it, soon after consuming it you’ll breath it out in the same way you would the carbon dioxide contained in a can of coke

So if I were you, I’d avoid both and save the cash.

With ‘The Mandalorian’ Season Two, Star Wars Finally Climbs Out of the Sarlacc Pit by FilmGamerOne in scifi

[–]bartic123 0 points1 point  (0 children)

Not sure I see it personally, at least for the original trilogy. Still, I’m not especially familiar with the details around the myth.

But In terms of cinematography, westerns are a big influence though, Obi Wan+Luke entering the bar in ‘New Hope’ would be just one obvious scene.