Community Profile

# cr

Last seen: 약 1달 전 2011년부터 활동

All

배지 보기

#### Content Feed

보기 기준

답변 있음
intersections between rays and 2D square grid
Each line has an equation, and in this case several lines have simple equations like y=c (horizontal lines) or x=c (vertical lin...

3달 전 | 0

제출됨

Peirce's Criterion for Outlier Removal
Apply Peirce's criterion for outlier detection for arbitrary number of observations 3 or more using Gould's implementation.

3달 전 | 다운로드 수: 5 |

답변 있음
How to put name of images files on workspace ?
Initialise count = {}; instead of count = []; then replace the count update before imwrite() as count(end+1,:) = {file_nrm...

3달 전 | 0

| 수락됨

답변 있음
3 point radius of curvature of a circle
Just fit a circle through the xy coordinate data and you would get centre and radius. See https://lucidar.me/en/mathematics/lea...

3달 전 | 0

답변 있음
How do I design my code so that when the user presses a button, a sound plays?
In the app you will see callback functions for each button. Eg you right click a button and select add buttonpressed callback an...

3달 전 | 0

답변 있음
How to create a DLL file from .cpp and .h in Matlab?
You dont need matlab to compile C/cpp files. Just need a c/cpp compiler.

3달 전 | 0

| 수락됨

질문

Effect of os clock change on timers
I see that on Windows 7 and Matlab 2017a, timer execution can be thrown astray if OS clock jumps back. E.g., if timer callback w...

3달 전 | 답변 수: 1 | 1

### 1

답변

답변 있음
How to replace specific area of image with zeros in video loop
Instead of recreating the annotation in the loop, create just one annotation before the loop, assign a handle to it and inside t...

4달 전 | 0

| 수락됨

답변 있음
uidropdown does not extend beyond its parent figure
You are right, this doesn't seem to be a bug. Since the child objects cant extend beyond parent containers. However, in R2022b o...

4달 전 | 0

답변 있음
Scroll bar does not appear in tab group.
According to the documentation: Setting this property to 'on' enables scrolling within the container. However, there are additi...

4달 전 | 0

| 수락됨

답변 있음
how to read .txt file having the following format.
readtable(), importdata(), etc. You may just drag and drop the file into workspace to launch importwizard. Make the appropriate...

4달 전 | 0

답변 있음
The label component of an edit field is not showing in component browser of app designer
I don't think Label for an edit field exists as a separate object (at least not in very recent versions). It's a part of the edi...

4달 전 | 0

답변 있음
MATLAB is taking endless snapshots instead of a video, when trying to track colored object in webcam video.
Move call to figure() out of while loop. It opens a new window on each call in every iteration of the loop which is why your plo...

4달 전 | 0

| 수락됨

답변 있음
How can I make each iteration of a for each block create a unique random number?
You will have to generate a vector of random numbers outside and pass it as an input. Default partitioning of this vector might ...

4달 전 | 0

| 수락됨

답변 있음
How to plot a graph with logarithmic scale
I did a quick search and couldn't find a call to plot functions in your script. Where are you plotting? Did you try to use semil...

4달 전 | 1

질문

2022b Beta is suddenly unlaunchable on macOS M1
Today my matlab window became unresponsive. Not sure exactly when, but I had data import window and a plot open while connected ...

4달 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
Plot timeseries for mean monthly temperature
Try this. xdata = datenum(dataClean(1:3)'); ydata = dataClean(4,:)'; plot(xdata,ydata); datetick x Cheers

4달 전 | 0

답변 있음
Error using stem X must be same length as Y.
The lengths of x and n are different, 19 and 25. Plotting requires them to be equal. I think you want to do x2 = zeros(size(n...

4달 전 | 0

| 수락됨

답변 있음
How can I write ANOVA results to a csv file?
Don't understand whats causing the problem, but the below line works writetable(ranovatbl(1:end,:),'test_table.txt') Really st...

4달 전 | 1

| 수락됨

답변 있음
How to convert excel date and time data into numerical integer matrix [year, month, day, hour, minute, second]
An easier way of doing that would be convert the dates into datenum so that you dont have to individually compare years,months,....

4달 전 | 0

답변 있음
Arrays have incompatible sizes for this operation.
Try the following change in conv() call on line 5. h12 = conv(h1,h2,'same');

4달 전 | 0

질문

Constraining solution space of estimateGeometricTransform()
The last time I used estimateGeometricTransform() I had to manually deal with solutions that were of no interest. E.g. I wouldn'...

4달 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
Text skew detection and correction in image
In general, pattern maching is used. See estimateGeometricTransform() But the result may not be exactly the angle it's rotated ...

4달 전 | 0

질문

Is there a callback for a pushbutton pressed-and-held state in app designer?
I can't find an equivalent of slider's valuechanging function for a pushbutton. Something that may execute repeatedly when a pus...

4달 전 | 답변 수: 0 | 0

### 0

답변

답변 있음
Determine -3db gain on Freq- gain plot
interp1() outputs linearly interpolated values that you are asking for. if Gain_3db is a scalar value the output is a scalar. Th...

4달 전 | 0

답변 있음
How do I solve differential that is not w.r.t time in simulink?
Can we consider dX/dV as (dX/dt) / (dV/dt) to set up a regular simulink model. Regards

4달 전 | 0

| 수락됨

답변 있음
How to fit custom equation in a linear regression?
Presuming you are trying to estimate a1, a2, a3 you can just to a lmdivide. You will need data for x & y with atleast 3 to solve...

4달 전 | 0

답변 있음
Generate synthetic images with controlled variation using the few sample images.
If by defect you mean the circular feature on the left of the image, you can check its attributes (pixel colours) and copy them ...

4달 전 | 0

답변 있음
The stem plot is not shown in the figure
I don't think there is markersize attribute in stem(). Either do stem(n,xn) or replace stem() with plot()

4달 전 | 0

답변 있음
Finding the max value in a column every 601 rows of excel file
If you already have the one big column, it's easy to reshape it into a matrix of 600xN (N=100*313?) >> M = reshape(BigColumMatr...

4달 전 | 0