Community Profile

photo

Chaya N


Actif depuis 2016

Followers: 0   Following: 0

Contact

Statistiques

All
  • Knowledgeable Level 3
  • Quiz Master
  • First Submission
  • Knowledgeable Level 2
  • First Answer
  • Speed Demon
  • CUP Challenge Master
  • Creator
  • Promoter
  • Commenter
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
How can I solve this error ... Error using * Inner matrix dimensions must agree. Error in Naivayes (line 74) ProbN = prob_table(A11,A1 - 1,1) *prob_table(A21,A2 - 1,1) *prob_table(A31, A3 - 1,1) *prob_table(A41,A4 - 1,1) *fy(1);
Please check the values of the variables A1, A2, A3 and A4. These should be scalar and greater than 1, otherwise they generat...

plus de 7 ans il y a | 0

A répondu
Tracks are the same length but wont concatenate
From your data given above, one of them is a row and the other is a column. They should both read 1-by-566272 *OR* 566272-by-1. ...

plus de 7 ans il y a | 1

A répondu
Trouble running 5 separate data sets through one code and saving the answers for each data set.
The loop scheme you have here is not serving any purpose. I suggest creating a function out of the lines of code that you have I...

plus de 7 ans il y a | 0

A répondu
I have two images of the same matrix size (512x512) but different pixel spacing. One image has a pixel spacing of 0.7 and the other 0.4. How do I get the two images to have the same pixel spacing and still maintain the matrix size of both images.
You could extract the image pixel values into new arrays. This would preserve the size of the images and ignore pixel spacing (o...

plus de 7 ans il y a | 0

A répondu
Create largest N digit number
Try this (10^N) - 1

plus de 7 ans il y a | 0

A répondu
How can I use wcodemat to re-scale an intensity/gray-scale image?
You could get a map of your original grayscale image X using the |<https://mathworks.com/help/matlab/ref/contrast.html contrast>...

plus de 7 ans il y a | 1

| A accepté

A répondu
Hi I have a matrix that is 100x100 and i would like to know if its possible to change the font size of the matrix when it shows as output ?
You might find some useful information here: <https://mathworks.com/help/matlab/matlab_env/change-fonts.html>

plus de 7 ans il y a | 0

A répondu
How to remove subplot grey space between images
The best (and possibly only) way to do that would be to create a new, larger image where you combine all your smaller subplots i...

plus de 7 ans il y a | 1

A répondu
Replace elements between two matrices
Try the |<https://mathworks.com/help/matlab/ref/setxor.html setxor>| function. You may need to tweak the directionality of the i...

plus de 7 ans il y a | 0

A répondu
Apply a filter to an image
There are *many* ways available. The following is just a sample subset of functions to give you an idea: <https://mathworks.com/...

plus de 7 ans il y a | 0

A répondu
erode until 1 pixel remains
The function <http://mathworks.com/help/images/ref/bwmorph.html |bwmorph|> with the |'shrink'| option perhaps.

plus de 7 ans il y a | 0

| A accepté

A répondu
What folder does Matlab use to store the Command History (history.m)?
Please see the answer on the following page. <https://mathworks.com/matlabcentral/answers/97504#answer_10685>

plus de 7 ans il y a | 0

A répondu
I keep getting an error message for my subplot syntax? Could anyone out there look over my script, and tell me whats wrong?
This is simply a reformatted version. Please try running this: x = 0:0.1:5; y = exp(-1.2*x).*sin(10*x+5); subplot(1...

plus de 7 ans il y a | 1

| A accepté

A répondu
How can I write multiple sets of data from MATLAB to one sheet in excel?
You could simply call the same function a couple more times to write your required variables into the same sheet. I would als...

plus de 7 ans il y a | 0

| A accepté

A répondu
Can i make loop from this equation?
I don't see why you would need any loops here. Your if-else statements seem to be doing just fine. But, if your Sa and Sb v...

plus de 7 ans il y a | 0

| A accepté

A répondu
Editing of y-label in the step response
On the figure window, go to Edit --> Axes Properties. This will open up the property editor on the bottom of your figure window....

plus de 7 ans il y a | 2

| A accepté

A répondu
Does bwboundaries always returned ordered, clockwise, boundaries?
Hello David, Please look up " |help bwboundaries| " at the command line if you would like an explicit mention of this particular...

plus de 7 ans il y a | 1

| A accepté

A répondu
turn a table column into doubles
str2num('enter your string here'); Please note that this would only work for strings that contain numerical data

plus de 7 ans il y a | 0

A répondu
Creating a matrix that calculates inverse and determinants without using the det and inv commands
A *singular* matrix, by definition, is one whose determinant is zero. hence, it is *non-invertible*. In code, this would be repr...

plus de 7 ans il y a | 1

A répondu
How to perform repeated calculations on a different bin
Put all the bin data into a cell array and use <http://mathworks.com/help/matlab/ref/cellfun.html |cellfun|> all_bins_raw = ...

plus de 7 ans il y a | 0

A répondu
Help aligning two vectors with one centred on zero.
xreal=Pitch*((1:numel(x1)) - ceil(numel(x1)/2))

plus de 7 ans il y a | 1

A répondu
How to plot a stored vector on one graph with the x axis 1:number
Try the following plot(1:numel(v),v);

plus de 7 ans il y a | 1

| A accepté

A répondu
How to plot a triangular prism ?
Hello Marian, this is how your prism should look <</matlabcentral/answers/uploaded_files/61841/untitled.png>> And now fo...

plus de 7 ans il y a | 3

| A accepté

A répondu
While loop inside an if loop
_"Matlab stops by display pick_year."_ When this line is displayed, you have to enter the year on your command window. Your p...

plus de 7 ans il y a | 0

A répondu
automatic variable creation?
It would be more efficient to simply store all these indices inside *one* variable (or array/ cell array/ structure, as the case...

plus de 7 ans il y a | 0

A répondu
how to solve this error ? Error using horzcat Dimensions of matrices being concatenated are not consistent.
Hello Khoirunnisya, could you please run the following code *exactly* as it is here and paste the output from your command windo...

plus de 7 ans il y a | 0

A répondu
Matlab jokes or puns
Q: What does your cat do when it sits on your laptop? A: It plays with strings.

plus de 7 ans il y a | 1

A répondu
Creating matrix nested for loop
If you already have all these data available (in separate vectors, I assume) then you do not need any loops. For example, if ...

plus de 7 ans il y a | 0

A répondu
Matlab strikes again with missing functionality for bode plots
Try out the colorful buttons on the top toolbar of your figure window. Click on the button shown by the big red box. This wi...

plus de 7 ans il y a | 0

A répondu
How long have you been using matlab? tell us your story
I started using MATLAB in 2001 when I was in my 10th grade (It was version 6.0 then!). Initially, it was just to gain some extra...

plus de 7 ans il y a | 1

Charger plus