![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/17946680_1585203271094_DEF.jpg)
Kanika Gupta
Followers: 0 Following: 0
統計
All
Feeds
回答済み
how to convert struct to vector?
If you requirement is to access strcuture of structures as cell arrays, try this: % For every sub strcuture C1 = num2cell(stru...
how to convert struct to vector?
If you requirement is to access strcuture of structures as cell arrays, try this: % For every sub strcuture C1 = num2cell(stru...
約4年 前 | 0
解決済み
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
4年以上 前
解決済み
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
4年以上 前
解決済み
Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...
4年以上 前
解決済み
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4年以上 前
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
4年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
4年以上 前
回答済み
legend for graphs by while loop
You can add legend in the plot command or use the legend function as mentioned in the documentation. Please follow the documenta...
legend for graphs by while loop
You can add legend in the plot command or use the legend function as mentioned in the documentation. Please follow the documenta...
4年以上 前 | 0
| 採用済み
回答済み
Evaluation of Clustering Algorithms
I do not think we can use evalclusters() with k-medoids. This function supports only certain algorithms as explained in here
Evaluation of Clustering Algorithms
I do not think we can use evalclusters() with k-medoids. This function supports only certain algorithms as explained in here
4年以上 前 | 0
| 採用済み
回答済み
Create a matrix using offset elements of a vector
Try blktridiag: A = blktridiag([1;2],[3;4],[5;6],4); full(A) ans = 1 5 0 0 2 6 0 0 ...
Create a matrix using offset elements of a vector
Try blktridiag: A = blktridiag([1;2],[3;4],[5;6],4); full(A) ans = 1 5 0 0 2 6 0 0 ...
4年以上 前 | 0
| 採用済み
回答済み
How to read an excel table and limiting its size (# of rows) to only the data entries
Yes you can do that, read the documentation around readmatrix herehttps://in.mathworks.com/help/matlab/ref/readmatrix.html In y...
How to read an excel table and limiting its size (# of rows) to only the data entries
Yes you can do that, read the documentation around readmatrix herehttps://in.mathworks.com/help/matlab/ref/readmatrix.html In y...
4年以上 前 | 0
| 採用済み
回答済み
How can I convert a tiff image into DCOM?
You can do that using dicomwrite : dicomwrite( imread('image.tif'), 'output.dcm')
How can I convert a tiff image into DCOM?
You can do that using dicomwrite : dicomwrite( imread('image.tif'), 'output.dcm')
4年以上 前 | 0
| 採用済み
回答済み
How I can generate an image and modify it with Matlab?
Try using this to create a blank image of desired size blankimage=zeros(200,200) imshow(blankimage) To change value at spec...
How I can generate an image and modify it with Matlab?
Try using this to create a blank image of desired size blankimage=zeros(200,200) imshow(blankimage) To change value at spec...
4年以上 前 | 1
| 採用済み
回答済み
combining four .png images
If you are looking of fusing multiple images, there is one similar question answered here https://in.mathworks.com/matlabcentral...
combining four .png images
If you are looking of fusing multiple images, there is one similar question answered here https://in.mathworks.com/matlabcentral...
4年以上 前 | 0
回答済み
Is it possible to export a figure in Live editor as .eps
The export option does not show .eps extension. Can you try saving the figure as "name.eps" and see if that works. I tried chang...
Is it possible to export a figure in Live editor as .eps
The export option does not show .eps extension. Can you try saving the figure as "name.eps" and see if that works. I tried chang...
4年以上 前 | 0
回答済み
what is wrong in this code..?
The insertAnnotation function excepts labels to be passed as na arguments. Try cloading labels using [bboxes,scores,labels]...
what is wrong in this code..?
The insertAnnotation function excepts labels to be passed as na arguments. Try cloading labels using [bboxes,scores,labels]...
4年以上 前 | 1
回答済み
How to create training data for object detection
Refer to this link https://in.mathworks.com/help/vision/ug/training-data-for-object-detection-and-semantic-segmentation.html for...
How to create training data for object detection
Refer to this link https://in.mathworks.com/help/vision/ug/training-data-for-object-detection-and-semantic-segmentation.html for...
4年以上 前 | 1