Answered
What is the difference between readall and read+hasdata?
The functions `readall` and `read` with `hasdata` are used for reading data from datastores. These functions are not exactly the...

2 years ago | 0

Answered
ModelAdvisor.Text Customization
The ModelAdvisor does not directly support customizing the font size and font name for individual ModelAdvisor.Text elements. Th...

2 years ago | 0

Answered
I want to code to add a return value
If I am not wrong, I think this is what you are expecting : function label = raspi_webcam_resnet() % your code... end

2 years ago | 0

| accepted

Answered
Complete expression for matrix operator
use like this filename= fullfile(fp,['June', num2str(ny), '.nc']);

2 years ago | 0

| accepted

Answered
How to perform mathematical operation of arrays inside loop?
E = B-A*X; while(sum(E(:))> 10^-40) C=diag(E*E'); W=diag(C)^-1; X=(A'*W*A)^-1*A'*W*B; end

2 years ago | 0

Answered
Error using cd Cannot CD to C:\Users\Product\Control\support (Name is nonexistent or not a directory).
if path is correct "C:\Users\Product\Control\support", then it works cd 'C:\Users\Product\Control\support'

2 years ago | 0

Answered
I am trying to develop a data model that can detect fraud in healthcare systems. I ran some code, but it is taking days to fully output. Can anyone help me fix this?
The `fitctree` function in MATLAB does not support GPU acceleration directly. However, you can perform computations on the GPU u...

2 years ago | 0

Answered
what format I should save my volumetric data to upload it in 'Volume Viewer' app?
Hi save it in .mat format and use "Import From Workspace" or "Import From File" in "Import Volume" tab. save volumetricData vo...

2 years ago | 1

| accepted

Answered
How can I obtain all possible combinations of 3 decimals whose sum equals 1, without running into memory and space issues?
% Set the precision for the sum comparison precision = 1e-3; % Generate a range of values with three decimal points values ...

2 years ago | 0

Answered
How to change the image input layer in GoogleNet?
Using API - Deep Network Designer

2 years ago | 0

Answered
Matlab produces empty figure when using plot(x,y,'-')
A = 20 Ap = A; t = 0 tp = t; while t < 20 A = A + 1 Ap = [Ap, A]; t = t + 5 tp = [tp, t]; end figure...

3 years ago | 0

Answered
what is the matlab code for image classification using svm classifier to classify the skin diseases
Binary SVM Classification: https://in.mathworks.com/help/stats/support-vector-machines-for-binary-classification.html Multi Cl...

4 years ago | 0

Question


How to find the inclination of the back bone in the attached image?
Hello Everyone... Greetings... I am working with some medical imaging problems. I want to rotate the given image after finding...

5 years ago | 2 answers | 0

2

answers

Answered
Are you able to count the number of pixels in a 3D plot?
@ sui zhi lau, Outside Loop totalData = 0; whitePixData = 40*40*40; Inside Loop redPixData(y) = sum(sqrt(((dx(:,i+1) - dx(:...

5 years ago | 0

Answered
how i create a 7 images database and compare with a input image and also save it in a.mat file
Hello Indrani, the code you are using has sepecific format for finger print file reading. you are using dataset DB1 from 'FVC20...

5 years ago | 0

Answered
How to run the same code for color image.is any one help me.
@ indrani dalui Try the attached file.

5 years ago | 0

Answered
how i create a 7 images database and compare with a input image and also save it in a.mat file
% ICount - Number of FingerPrints % JCount - Number of Images Per FingerPrintICount=7; ICount = 7; JCount = 7; p=0; for...

5 years ago | 0

| accepted

Answered
Simple Iterative expression needed solved
w = 1; y = 0; while(y < 10000) % your equation y = sqrt(10*w*w - 4*w + 2); w = w + 1; end disp(w) disp(y)

5 years ago | 0

Answered
How to plot two trajectories in Matlab?
Hello Sarah Hamdan, Don't paste code as a image, use option 'Insert aline code' Don't 2 different function body with same func...

5 years ago | 2

Answered
How to build on an existing struct 4x4xn matrix?
Hello Happy PhD, Try this one... clc; clear all; A.G(:,:,1) = [1 2 1 1 ; 4 9 5 6 ]; A.G(:,:,2) = [0 1 0 0; 0 6 0 0]; A.G...

5 years ago | 0

| accepted

Answered
Help with Image Processing code
Hello BERG, here is code, you code only bit modified . Use the attached 'mask.bmp' image. clc; % Clear command window. clea...

5 years ago | 0

| accepted

Answered
Using solve to solve a complex trigonometric equation
Hello Junha Kim, syms x; assume(x>=0 & x<=2*pi); eqn = cos(x)*(1-sin(x)) == 0; [solx, parameters, conditions] = solve(eqn,...

5 years ago | 0

| accepted

Answered
Not sure why my code results in a wrong figure. I am trying to simulate 2 dice rolls and counting how many times it takes to roll 2 6s out 10000 trials.
Hello Enkhdul Batkhuyag, Try this one - num_trial=10000; num_until_success=0; for i=1:num_trial,i roll_1=randi(6,1);ro...

5 years ago | 0

| accepted

Answered
Save the values of a function in a for loop
Hell Austin Hernandez, you are correct. but Option01 is good. Option 01: function for_test x = 0:1:10; y = zeros(size(x)) ;...

5 years ago | 0

| accepted

Answered
Please someone tell me what's wrong with my code, it keeps on returning the message, ''Unrecognized variable of v''. The image below the code is the problem?
Hello There is a problem in the calculation of 'y' in function 'DTask1_f' Calculated value first value is around 2.4, but it ...

5 years ago | 0

| accepted

Answered
Hello I need help with for loop incrementing. Filterbanks
Hello Trevon Alvarado, f0=1600; f1=7600; fs=20000; t=0:1/fs:0.5-(1/fs); x1=1*sin(2*pi*f0*t); x2=1*sin(2*pi*f1*t); xin=x...

5 years ago | 0

Answered
Summation of table imported from excel
Hello Luis Eloy García-Mauriño Rey, % Assuming xls data strored in variabl 'data' % colum 1 is Angle, colum 2 is Volume, colu...

5 years ago | 0

| accepted

Answered
Creating binary 3D mask from MR volume
Hello banikr, I think this is what you want ... if I am not wrong. load mri; % load mriVolume; %3D MRI data with data varia...

5 years ago | 0

Answered
Automated detection of diabetic retinopathy
Hello Anas Bilal, Code tested working on 2012.

5 years ago | 1

| accepted

Answered
RGB Color Space Image Segmentation
Hello Muftahu Kabir, Here is the code ... clear all; close all; clc; I = imread('1.jpg'); figure, imshow(I); IR = I(...

5 years ago | 0

| accepted

Load more